XML 19 R8.htm IDEA: XBRL DOCUMENT v3.25.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2025
Mar. 31, 2024
Cash flows from operating activities:    
Net income (loss) $ 29,730 $ (16,097)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 19,915 20,137
Net amortization of premium on marketable securities 3,512 2,825
Provision (benefit) for credit losses 62 (130)
Asset impairment 27 332
Non-cash interest expense 1,679 2,132
Net gain from change in fair value of debt securities (323) (942)
Stock-based compensation 55,633 60,833
Deferred income taxes 8,560 (8,292)
Changes in operating assets and liabilities:    
Accounts receivable 1,760 77,359
Inventory 20,979 5,702
Prepaid expenses and other assets (75,553) (10,897)
Accounts payable, accrued and other liabilities 54,232 (66,284)
Warranty obligations 10,558 (11,923)
Deferred revenues (82,357) (5,554)
Net cash provided by operating activities 48,414 49,201
Cash flows from investing activities:    
Purchases of property and equipment (14,608) (7,371)
Investment in tax equity fund (6,904) 0
Purchases of marketable securities (200,826) (472,268)
Maturities and sale of marketable securities 335,398 497,373
Net cash provided by investing activities 113,060 17,734
Cash flows from financing activities:    
Principal payments and financing fees on debt (102,168) (2)
Proceeds from issuance of common stock under employee equity plans 67 1,186
Payment of withholding taxes related to net share settlement of equity awards (12,110) (60,042)
Repurchase of common stock (99,964) (41,996)
Net cash used in financing activities (214,175) (100,854)
Effect of exchange rate changes on cash, cash equivalents and restricted cash 3,675 (1,177)
Net decrease in cash, cash equivalents and restricted cash (49,026) (35,096)
Cash, cash equivalents and restricted cash—Beginning of period 464,116 288,748
Cash, cash equivalents and restricted cash—End of period 415,090 253,652
Supplemental disclosures of non-cash investing activities:    
Purchases of property and equipment through tenant improvement allowance 855 0
Purchases of property and equipment included in accounts payable $ 4,207 $ 7,898