XML 19 R8.htm IDEA: XBRL DOCUMENT v3.23.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Cash flows from operating activities:    
Net loss $ (74,917) $ (82,747)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 18,150 14,384
Non-cash lease expense 7,934 3,072
Loss on disposal of property, plant and equipment 191 0
Revaluation of derivative contracts (117) 2,407
Stock-based compensation 27,743 25,542
Amortization of warranty balance 0 150
Amortization of warrants and debt issuance costs 665 706
Unrealized foreign currency exchange loss 28 210
Changes in operating assets and liabilities:    
Accounts receivable (78,872) (23,046)
Contract assets (1,051) 11,668
Inventories (127,666) (39,542)
Deferred cost of revenue 5,793 5,865
Customer financing receivable 0 1,388
Prepaid expenses and other current assets (4,527) (6,340)
Other long-term assets (128) 703
Operating lease right-of-use assets and operating lease liabilities (7,507) 3,436
Finance lease liabilities 244 0
Accounts payable (26,835) 15,900
Accrued warranty (7,876) 2,925
Accrued expenses and other current liabilities (32,277) (25,144)
Deferred revenue and customer deposits (13,108) (5,783)
Other long-term liabilities (577) 1,803
Net cash used in operating activities (314,710) (92,443)
Cash flows from investing activities:    
Purchase of property, plant and equipment (26,574) (18,510)
Net cash used in investing activities (26,574) (18,510)
Cash flows from financing activities:    
Repayment of debt (9,892) (4,774)
Proceeds from financing obligations 1,163 0
Repayment of financing obligations (4,266) (9,423)
Distributions and payments to noncontrolling interests 0 (2,876)
Proceeds from issuance of common stock 8,525 6,961
Proceeds from issuance of redeemable convertible preferred stock 310,957 0
Net cash provided by (used in) financing activities 306,487 (10,112)
Effect of exchange rate changes on cash, cash equivalent and restricted cash (124) (153)
Net decrease in cash, cash equivalents and restricted cash (34,921) (121,218)
Beginning of period 518,366 615,114
End of period 483,445 493,896
Supplemental disclosure of cash flow information:    
Cash paid during the period for interest 13,409 14,405
Cash paid for amounts included in the measurement of lease liabilities:    
Operating cash flows from operating leases 7,446 2,464
Operating cash flows from finance leases 254 230
Cash paid during the period for income taxes 213 381
Non-cash investing and financing activities:    
Liabilities recorded for property, plant and equipment, net 4,517 6,775
Recognition of operating lease right-of-use asset during the year-to-date period 6,535 147
Recognition of finance lease right-of-use asset during the year-to-date period 244 0
Derecognition of the pre-modification forward contract fair value (Note 15) 76,242 0
Equity component of redeemable convertible preferred stock, Series B (Note 15) $ 16,145 $ 0