XML 19 R8.htm IDEA: XBRL DOCUMENT v3.25.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Cash flows from operating activities:    
Net loss $ (65,606) $ (117,728)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 24,582 25,925
Non-cash lease expense 16,452 17,931
Loss (gain) on disposal of property, plant and equipment 80 (15)
Revaluation of derivative contracts (9) (70)
Stock-based compensation 59,338 37,327
Amortization of debt issuance costs 3,723 3,074
Loss on extinguishment of debt 32,340 27,182
Net gain on failed sale-and-leaseback transactions (827) 0
Unrealized foreign currency exchange (gain) loss (4,795) 1,554
Other (26) (100)
Changes in operating assets and liabilities:    
Accounts receivable [1] (129,904) (183,272)
Contract assets [2] 15,364 (49,021)
Inventories (142,600) (19,103)
Deferred cost of revenue [3] 30,099 (2,591)
Prepaid expenses and other current assets [4] 6,134 11,046
Other long-term assets [5] 826 (3,955)
Operating lease right-of-use assets and operating lease liabilities [6] (16,754) (18,023)
Finance lease liabilities 982 320
Accounts payable [7] 52,790 (25,249)
Accrued warranty [8] (4,566) (6,938)
Accrued expenses and other current liabilities [9] (22,586) (13,207)
Deferred revenue and customer deposits [10] (178,807) (7,441)
Other long-term liabilities (23) (407)
Net cash used in operating activities (323,793) (322,761)
Cash flows from investing activities:    
Purchase of property, plant and equipment (21,504) (33,454)
Proceeds from sale of property, plant and equipment 76 22
Net cash used in investing activities (21,428) (33,432)
Cash flows from financing activities:    
Proceeds from issuance of debt [11] 0 402,500
Payment of debt issuance costs (3,348) (12,323)
Repayment of debt 0 (140,990)
Proceeds from financing obligations 0 1,334
Repayment of financing obligations (5,465) (9,999)
Proceeds from issuance of common stock 7,681 6,975
Dividend paid (947) (1,468)
Contributions from noncontrolling interest 0 3,958
Other 150 0
Net cash (used in) provided by financing activities (1,929) 249,987
Effect of exchange rate changes on cash, cash equivalent, and restricted cash 2,226 (1,168)
Net decrease in cash, cash equivalents, and restricted cash (344,924) (107,374)
Beginning of period 950,971 745,178
End of period 606,047 637,804
Supplemental disclosure of cash flow information:    
Cash paid during the period for interest 26,660 26,744
Cash paid for amounts included in the measurement of lease liabilities:    
Operating cash flows from operating leases 16,585 17,896
Operating cash flows from finance leases 169 127
Cash paid during the period for income taxes 775 830
Non-cash investing and financing activities:    
Liabilities recorded for property, plant and equipment, net 4,285 3,032
Recognition of operating lease right-of-use asset during the year-to-date period 3,711 4,984
Recognition of finance lease right-of-use asset during the year-to-date period 956 320
Premium on convertible debt (Note 7) 28,247 0
2.5% Green Convertible Senior Notes due August 2025 | Senior Secured Notes    
Non-cash investing and financing activities:    
Notes/debt exchanged 112,769 0
3.0% Green Convertible Senior Notes due June 2029 | Senior Secured Notes    
Non-cash investing and financing activities:    
Notes/debt exchanged $ 115,725 $ 0
[1] Including changes in related party balances of $2.6 million and $86.1 million for the six months ended June 30, 2025, and 2024, respectively.
[2] Including changes in related party balances of $0.8 million and $6.0 million for the six months ended June 30, 2025, and 2024, respectively.
[3] Including changes in related party balances of $0.9 million for the six months ended June 30, 2024. There were no related party balances as of June 30, 2025, and December 31, 2024.
[4] Including changes in related party balances of $0.3 million and $1.0 million for the six months ended June 30, 2025, and 2024, respectively.
[5] Including changes in related party balances of $0.1 million and $0.4 million for the six months ended June 30, 2025, and 2024, respectively.
[6] Including changes in related party balances of $0.2 million for the six months ended June 30, 2025. There were no related party balances as of June 30, 2024, and December 31, 2023.
[7] Including changes in related party balances of $0.04 million and $0.1 million for the six months ended June 30, 2025, and 2024, respectively.
[8] Including changes in related party balances of $0.1 million for the six months ended June 30, 2025. There were no related party balances as of June 30, 2024, and December 31, 2023.
[9] Including changes in related party balances of $3.5 million and $2.4 million for the six months ended June 30, 2025, and 2024, respectively.
[10] Including changes in related party balances of $4.1 million and $4.4 million for the six months ended June 30, 2025, and 2024, respectively.
[11] Including changes in related party balances of $0.4 million and $0.3 million for the six months ended June 30, 2025, and 2024, respectively.