(CNN) Tesla reported its largest quarterly loss in its history on Wednesday and burned through $430 million in cash over three months. But investors didn’t freak out. Wall Street was expecting worse.

The electric car company said it lost more than $717.5 million in the second quarter. But its cash burn rate was less than investors expected, and the company had $2.2 billion in cash at the end of the quarter.