XML 20 R6.htm IDEA: XBRL DOCUMENT v3.23.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2023
Sep. 30, 2022
Cash flows from operating activities:    
Net loss $ (2,174,654) $ (831,812)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 166,033 131,343
Amortization of insurance premium 30,242 25,188
Non-cash operating lease cost 18,871 14,254
Stock-based compensation 193,432 352,245
Inventory and firm purchase commitments write-downs 734,495 364,553
Other non-cash items (46,990) (5,020)
Changes in operating assets and liabilities:    
Accounts receivable (3,778) 489
Inventory (575,933) (906,054)
Prepaid expenses (43,062) (12,101)
Other current assets 13,680 (33,262)
Other noncurrent assets (113,790) (39,082)
Accounts payable (114,810) 52,216
Accrued compensation (1,781) 16,644
Operating lease liabilities (17,500) (10,761)
Other current liabilities (44,005) 281,545
Other long-term liabilities 25,993 20,191
Net cash used in operating activities (2,015,204) (1,577,743)
Cash flows from investing activities:    
Purchases of property, plant and equipment (638,002) (784,964)
Purchases of investments (3,585,254) (2,726,677)
Proceeds from maturities of investments 2,480,570 125,353
Proceeds from sale of investments 148,388 0
Proceeds from government grant 0 97,267
Other investing activities (4,827) 0
Net cash used in investing activities (1,599,125) (3,289,021)
Cash flows from financing activities:    
Payment for short-term insurance financing note 0 (15,330)
Payment for finance lease liabilities (4,534) (3,605)
Proceeds from borrowings 42,920 20,228
Repayments for borrowings 0 (6,653)
Proceeds from failed sale-leaseback transaction 0 31,700
Proceeds from exercise of stock options 7,321 14,738
Proceeds from employee stock purchase plan 15,089 12,882
Tax withholding payments for net settlement of employee awards (14,705) (212,895)
Net cash provided by (used in) financing activities 3,042,956 (165,566)
Net decrease in cash, cash equivalents, and restricted cash (571,373) (5,032,330)
Beginning cash, cash equivalents, and restricted cash 1,737,320 6,298,020
Ending cash, cash equivalents, and restricted cash 1,165,947 1,265,690
Supplemental disclosure of cash flow information:    
Cash paid for interest, net of amounts capitalized 7,933 11,307
Cash paid for taxes 37 480
Supplemental disclosure of non-cash investing and financing activities:    
Purchases of property, plant and equipment included in accounts payable and other current liabilities 77,844 65,267
Property, plant and equipment and right-of-use assets obtained through leases 26,572 143,972
Line of Credit    
Cash flows from financing activities:    
Payment for credit facility issuance costs 0 (6,631)
Underwriting Agreement    
Cash flows from financing activities:    
Proceeds from issuance of common stock 1,184,224 0
Private Placement    
Cash flows from financing activities:    
Proceeds from issuance of common stock 1,812,641 0
Change in fair value of common stock warrant liability    
Adjustments to reconcile net loss to net cash used in operating activities:    
Change in fair value of common stock warrant liability $ (61,647) $ (998,319)