XML 405 R7.htm IDEA: XBRL DOCUMENT v3.24.1.u1
Consolidated Statements of Cash Flows - USD ($)
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Cash Flows from Operating Activities:      
Net loss $ (939,947,000) $ (547,496,000) $ (471,341,000)
Reconciliation of net loss to net cash used in operating activities:      
Stock-based compensation 8,176,000 19,602,000 5,622,000
Amortization of debt discount 1,734,000 1,474,000 373,000
Allowance for note receivable 8,357,000 0 0
Depreciation and amortization 88,878,000 7,285,000 699,000
Amortization of right-of-use asset 10,235,000 4,463,000 2,576,000
Inventory write down 233,929,000 0 0
Change in fair value measurements 327,823,000 0 0
Change in fair value of warrants liability 0 0 138,436,000
Unrealized loss recognized on equity securities 1,791,000 6,860,000 0
Unrealized (gain) loss on foreign currency transactions 5,947,000 3,975,000 (1,469,000)
Changes in operating assets and liabilities:      
Inventory (636,156,000) 0 0
Accounts receivable (17,528,000) 0 0
Deferred revenue 45,555,000 0 0
Prepaid expenses and other assets (33,442,000) (53,194,000) (43,797,000)
Accounts payable and accrued expenses 205,471,000 99,578,000 66,253,000
Customer deposits 26,677,000 9,034,000 2,773,000
Change in operating lease liability (6,431,000) (4,118,000) (1,395,000)
Net cash used in operating activities (668,931,000) (452,537,000) (301,270,000)
Cash Flows from Investing Activities:      
Acquisition of equity investment 0 (10,000,000) 0
Funding of notes receivable (8,357,000) 0 0
Purchase of property and equipment and intangible asset (227,587,000) (190,989,000) (134,386,000)
Net cash used in investing activities (235,944,000) (200,989,000) (134,386,000)
Cash Flows from Financing Activities:      
Proceeds from issuance of convertible notes 450,000,000 0 667,500,000
Payments for debt issuance costs 25,000 0 (209,000)
Payments made for capped call options 0 0 (96,788,000)
Payments made to initial purchasers for convertible notes 0 0 (8,314,000)
Proceeds from exercise of warrants 0 0 89,023,000
Payments for stock issuance costs and redemption of unexercised warrants 0 0 (22,000)
Payments of finance lease obligations (18,303,000) 0 0
Payments to tax authorities for statutory withholding taxes (63,000) (1,562,000) (9,869,000)
Proceeds from the exercise of stock options (26,000) 2,154,000 5,616,000
Proceeds from stock issuance under “At-the-market” offering 135,928,000 190,492,000 0
Payments for “At-the-market” issuance costs (1,867,000) (3,448,000) 0
Net cash provided by financing activities 565,694,000 187,636,000 646,937,000
Effect of exchange rate changes on cash (1,469,000) 0 0
Net increase (decrease) in cash and cash equivalents, and restricted cash (340,650,000) (465,890,000) 211,281,000
Cash and cash equivalents, and restricted cash, beginning of the period 736,549,000 1,202,439,000 991,158,000
Cash and cash equivalents and restricted cash, end of the period 395,899,000 736,549,000 1,202,439,000
Cash and cash equivalents, beginning of period 736,549,000 1,202,439,000 991,158,000
Restricted cash, beginning of period 0 0 0
Cash and cash equivalents 325,452,000 736,549,000 1,202,439,000
Restricted cash 70,447,000 0 0
Supplemental disclosure of cash flow information      
Cash paid for interest 16,688,000 17,985,000 0
Cash paid for income taxes $ 338,000 $ 46,000 $ 0