XML 20 R6.htm IDEA: XBRL DOCUMENT v3.22.2
UNAUDITED 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 $ (102,478) $ (75,499)
Adjustment to reconcile net loss to net cash used in operating activities    
Stock-based compensation 7,377 5,673
Depreciation and amortization 2,266 1,097
Loss from write-down of property, plant and equipment 2,005 11
Non-cash lease expense 409 396
Income from equity in unconsolidated joint venture 0 (440)
Remeasurement of equity method investment 0 7,480
Amortization of debt discount 1,548 0
Amortization of debt issuance cost- related party 204 0
Commitment fee for SEPA agreement settled by common stock- related party 1,061 0
Change in fair value, embedded derivative - related party (11,673) 0
Change in fair value, warrants liability - related party (837) (361)
Changes in operating assets and liabilities:    
Prepaid expenses 827 761
Inventory 35 (1,554)
Accounts receivable (686) (170)
Vendor deposits (5,268) (3,221)
Security deposits 13 (15)
Accounts payable 14,734 2,380
Accrued expenses 7,020 1,540
Accounts payable and accrued expenses - related parties (1,200) (2,517)
Provision for firm purchase commitments 0 (3,445)
Operating lease liabilities (303) (374)
Contract liabilities 906 1,263
Note payable (4,679) 18,365
Other customer receivable 0 0
Other 1,727 (257)
Net cash used in operating activities (86,992) (48,887)
Cash flows from investing activities    
Investment in notes receivable (261) (4,083)
Business acquisition, net of cash acquired 0 (160)
Investment in joint venture 0 (4,000)
Purchases of property, plant and equipment (11,497) (7,541)
Net cash used in investing activities (11,758) (15,784)
Cash flows from financing activities    
Principal payments on finance (capital) lease obligations (6)  
Principal payments on finance (capital) lease obligations   (6)
Proceeds from exercise of stock options 0 756
Proceeds from exercise of public warrants 7 16,852
Proceeds from issuance of convertible notes - related party, net of issuance cost 7,225 0
Issuance of common stock under the SEPA 5,000 0
Repurchase of shares from employees for income tax withholding purposes (852) 0
Repayment of other financing 0 (94)
Repayment of equipment financing facility (790) 0
Net cash provided by financing activities 10,584 17,508
Effect of exchange rate changes on cash and cash equivalents 2 0
Net decrease in cash, cash equivalents and restricted cash (88,164) (47,163)
Cash, cash equivalents and restricted cash, beginning of the period 105,692 121,853
Cash, cash equivalents and restricted cash, end of the period 17,528 74,690
Non-cash investing and financing activities    
Accrued and unpaid capital expenditures 2,402 0
Issuance of convertible notes for interest paid in kind 3,087 0
Fixed assets acquired with finance lease 70 0
Right-of-use operating lease assets in exchange for lease liabilities 2,112 4,351
Supplemental disclosures    
Cash paid for interest $ 434 $ 233