v3.26.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Cash flows from operating activities:    
Net income $ 28,673 $ 66,782
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 41,011 40,000
Discount from sale of AMPTC generated 16,450 0
Amortization (accretion) of investments purchased at a premium (discount) 5,292 2,278
Provision for credit losses 141 192
Asset impairment 79 1,565
Non-cash interest expense 960 2,507
Change in fair value of debt securities and tax equity fund 2,576 9,141
Stock-based compensation 92,545 109,529
Deferred income taxes 18,076 8,963
Changes in operating assets and liabilities:    
Accounts receivable (35,674) 10,441
Inventory 3,025 (8,012)
Prepaid expenses and other assets 29,356 (139,814)
Accounts payable, accrued and other liabilities (115,649) 91,444
Warranty obligations (10,837) 13,197
Deferred revenues 67,170 (133,170)
Net cash provided by operating activities 143,194 75,043
Cash flows from investing activities:    
Purchases of marketable securities (29,006) (485,132)
Maturities and sales of marketable securities 650,060 578,218
Purchases of property and equipment (34,292) (22,867)
Issuance of loan receivables (1,000) 0
Investment in tax equity fund 0 (8,344)
Receipts of loan receivables 10,085 0
Issuance of secured revolving credit facility (29,000) 0
Net cash provided by investing activities 566,847 61,875
Cash flows from financing activities:    
Proceeds from issuances of common stock under employee equity plans 4,171 5,369
Payments of withholding taxes related to net share settlement of equity awards (21,226) (14,974)
Repurchases of common stock 0 (129,957)
Net cash used in financing activities (649,555) (241,730)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (5,460) 11,232
Net increase (decrease) in cash, cash equivalents and restricted cash 55,026 (93,580)
Cash, cash equivalents and restricted cash — Beginning of period 474,318 464,116
Cash and cash equivalents — End of period 529,344 370,536
Supplemental disclosures of non-cash investing activities:    
Purchases of property and equipment through tenant improvement allowance 0 855
Purchases of property and equipment included in accounts payable 8,588 4,560
Notes due 2026    
Cash flows from financing activities:    
Settlement of Notes due 2025 (632,500) 0
2025 Warrants    
Cash flows from financing activities:    
Settlement of Notes due 2025 $ 0 $ (102,168)