v3.22.2.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities    
Net loss $ (95,862) $ (76,973)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 6,567 7,236
Stock-based compensation 6,446 2,748
Inventory write-down 1,581 0
Write-off of right-of-use assets 70 0
Non-cash investment in Sky and Space 0 (1,706)
Change in fair value of equity investments 8,820 0
Change in fair value of liability classified warrants (11,680) 0
Changes in operating assets and liabilities:    
Accounts receivable (9,182) 2,225
Contract assets (3,067) (2,452)
Inventory (27,342) (11,342)
Prepaid expenses and other current assets (4,267) (1,734)
Deferred transaction costs 0 (90)
Other noncurrent assets 1,953 (43)
Due to related party, net (8) (83)
Accounts payable (1,271) 4,947
Other long-term liabilities (691) (437)
Accrued liabilities (1,212) (626)
Deferred revenue 16,942 1,107
Other, net (112) (20)
Net cash used in operating activities (112,315) (77,243)
Cash flows from investing activities:    
Purchase of property and equipment (10,257) (11,749)
Net cash used in investing activities (10,257) (11,749)
Cash flows from financing activities:    
Payments of finance lease obligations (161) (113)
Proceeds from the exercise of stock options 651 778
Advances to stock option holders 0 18
Parent Company contributions 0 85,939
Proceeds from convertible debt 50,000 0
Net cash provided by financing activities 50,490 86,622
Net decrease in cash and cash equivalents and restricted cash (72,082) (2,370)
Cash and cash equivalents and restricted cash at the beginning of the period 194,982 26,786
Cash and cash equivalents and restricted cash at the end of the period 122,900 24,416
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents [Abstract]    
Cash and cash equivalents 122,072 23,588
Restricted cash 828 828
Cash and cash equivalents and restricted cash 122,900 24,416
Schedule for non-cash investing activities and financing activities    
Unpaid property, plant and equipment received 112 790
Unpaid debt issuance costs $ 100 $ 0

Source