XML 15 R6.htm IDEA: XBRL DOCUMENT v3.23.2
UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities    
Net loss $ (203,230) $ (102,478)
Adjustment to reconcile net loss to net cash used in operating activities    
Stock-based compensation 5,667 7,377
Depreciation and amortization 5,151 2,266
Loss on debt extinguishment 3,510 0
Loss from write-down of property, plant and equipment 6,196 2,005
Amortization of right-of-use assets 481 409
Other 5,555 2,690
Changes in operating assets and liabilities:    
Prepaid expenses 939 827
Inventory 6,630 35
Accounts receivable 155 (686)
Vendor deposits (5,423) (5,268)
Contract assets (106) 0
Accounts payable (16,196) 14,734
Accrued expenses 5,184 7,020
Operating lease liabilities (540) (303)
Contract liabilities (1,471) 906
Note payable 0 (4,679)
Other (1,856) (950)
Net cash used in operating activities (75,582) (86,992)
Cash flows from investing activities    
Investment in notes receivable 0 (261)
Purchases of property, plant and equipment (10,100) (11,497)
Net cash used in investing activities (10,100) (11,758)
Cash flows from financing activities    
Principal payments on finance lease obligations (15) (6)
Proceeds from exercise of options 355 0
Proceeds from exercise of public warrants 0 7
Repayment of equipment financing facility (1,381) (790)
Repurchase of shares from employees for income tax withholding purposes (451) (852)
Net cash provided by financing activities 92,612 10,584
Effect of exchange rate changes on cash, cash equivalents and restricted cash 3 2
Net increase (decrease) in cash, cash equivalents and restricted cash 6,933 (88,164)
Cash, cash equivalents and restricted cash, beginning of the period 31,223 105,692
Cash, cash equivalents and restricted cash, end of the period 38,156 17,528
Non-cash investing and financing activities    
Accrued and unpaid capital expenditures 0 2,402
Issuance of convertible notes for interest paid in kind 4,915 3,087
Fixed assets acquired with finance lease 0 70
Right-of-use operating lease assets in exchange for lease liabilities 363 2,112
Issuance of common stock upon settlement of Yorkville convertible notes 51,023 0
Accrued and unpaid capitalized internal-use software 130 0
Supplemental disclosures    
Cash paid for interest 7,434 434
Nonrelated Party    
Adjustment to reconcile net loss to net cash used in operating activities    
Non-cash interest expense 2,469 0
Related Party    
Adjustment to reconcile net loss to net cash used in operating activities    
Non-cash interest expense 23,580 1,752
Loss (gain) on change in fair value of derivatives - related party 87,723 (12,510)
Commitment fee for SEPA agreement settled by common stock - related party 0 1,061
Changes in operating assets and liabilities:    
Accounts payable and accrued expenses - related party 0 (1,200)
Cash flows from financing activities    
Proceeds from issuance of convertible notes - related party 48,050 7,225
Payment of debt issuance costs - related party (1,116) 0
Proceeds from issuance of common stock and warrants - related party 49,250 5,000
Payment of equity issuance costs - related party $ (2,080) $ 0