XML 21 R8.htm IDEA: XBRL DOCUMENT v3.25.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Cash flows from operating activities:    
Net loss $ (223,267) $ (288,129)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 16,227 30,430
Impairment of asset held-for-sale 38,339 0
Stock-based compensation expenses 50,687 76,177
Loss from business disposition 17,875 0
Deferred income taxes, net (780) (50,843)
Gain from repurchasing of convertible notes 0 (15,455)
Loss from exchange rate fluctuations 1,516 10,499
Other items (1,441) 3,340
Changes in assets and liabilities:    
Trade receivables, net (54,686) 317,574
Inventories, net 125,125 (58,764)
Prepaid expenses and other assets 61,006 78,541
Operating lease right-of-use assets, net 5,153 11,392
Trade payables 71,217 (310,819)
Warranty obligations (34,609) (27,178)
Deferred revenues and customers advances (83,779) (4,028)
Operating lease liabilities (6,806) (11,042)
Accrued expenses and other liabilities 44,247 (23,486)
Net cash provided by (used in) operating activities 26,024 (261,791)
Cash flows from investing activities:    
Investment in available-for-sale marketable securities (172,773) (155,334)
Proceeds from maturities of available-for-sale marketable securities 292,679 480,727
Proceeds from sales of available-for-sale marketable securities 0 51,918
Purchase of property, plant and equipment (11,365) (48,535)
Business combinations, net of cash acquired 0 (11,662)
Proceeds from sale of investment in privately-held company 4,000 0
Business dispositions, net of cash sold (7,322) 0
Proceeds from sale of property, plant and equipment 10,314 0
Repayment related to governmental grant (6,643) 0
Purchase of intangible assets 0 (10,000)
Disbursements for loans receivables 0 (37,500)
Investment in privately-held companies (150) (25,650)
Proceeds from loan receivables 27,475 1,625
Other investing activities (28) (2,365)
Net cash provided by investing activities 136,187 243,224
Cash flows from financing activities:    
Repurchase of common stock 0 (50,015)
Proceeds from issuance of Notes 2029, net of issuance costs 0 293,625
Capped call transactions related to Notes 2029 0 (25,230)
Repurchase of convertible debt (5,093) (267,900)
Other financing activities (1,517) (1,164)
Net cash used in financing activities (6,610) (50,684)
Effect of exchange rate changes on cash, cash equivalents and restricted cash 6,966 (9,719)
Increase (decrease) in cash, cash equivalents and restricted cash 162,567 (78,970)
Cash, cash equivalents and restricted cash, beginning of period 409,939 338,468
Cash, cash equivalents and restricted cash, end of period $ 572,506 $ 259,498