XML 20 R7.htm IDEA: XBRL DOCUMENT v3.22.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Cash flows from operating activities    
Net loss $ (229,813) $ (124,216)
Adjustment to reconcile net loss to net cash used in operating activities    
Stock-based compensation 13,794 15,058
Depreciation and amortization 6,814 2,613
Loss from write-down of property, plant and equipment 6,846 50
Amortization of right-of-use assets 865 924
Remeasurement of equity method investment 0 7,480
Income from equity in unconsolidated joint venture 0 (440)
Interest accretion and amortization of debt issuance costs 1,886 0
Interest accretion and amortization of debt issuance costs - related party 4,584 2,950
Commitment fee for SEPA settled by common stock - related party 1,061 0
Loss (gain) on debt extinguishment/(forgiveness) 942 (1,273)
Gain on change in fair value of derivatives - related parties (11,728) (19,282)
Other 5,918 2,900
Changes in operating assets and liabilities:    
Prepaid expenses 304 (284)
Inventory (10,284) (10,096)
Accounts receivable 234 (1,916)
Vendor deposits 6,808 (7,419)
Contract assets (631) (1,369)
Accounts payable 19,516 5,823
Accrued expenses 5,079 2,581
Accounts payable and accrued expenses-related parties (1,200) (1,317)
Provision for firm purchase commitments 0 (5,475)
Operating lease liabilities (785) (846)
Contract liabilities 3,957 772
Note payable (19,637) 18,695
Other (1,387) (2,060)
Net cash used in operating activities (196,857) (116,147)
Cash flows from investing activities    
Investment in notes receivable (261) (4,907)
Proceeds from notes receivable 3,163 1,320
Business acquisition, net of cash acquired 0 (160)
Investment in joint venture 0 (4,000)
Purchases of property, plant and equipment (20,072) (15,589)
Net cash used in investing activities (17,170) (23,336)
Cash flows from financing activities    
Proceeds from issuance of convertible notes payable – related party, net of discount 9,310 100,000
Payment of debt issuance costs - related party (304) 0
Proceeds received from the Senior Secured Term Loan, net of discount 97,992 0
Payment of debt issuance costs (12,398) (4,370)
Principal payments on finance lease obligations (14) (11)
Repayment of other financing 0 (94)
Proceeds from equipment financing facility 4,216 7,000
Repayment of equipment financing facility (1,913) (455)
Proceeds from exercise of stock options 0 1,074
Proceeds from exercise of public warrants 7 20,099
Repurchase of shares from employees for income tax withholding purposes (978) (353)
Other 0 432
Net cash provided by financing activities 139,544 123,322
Effect of foreign exchange on cash, cash equivalents and restricted cash 14 0
Net decrease in cash, cash equivalents and restricted cash (74,469) (16,161)
Cash, cash equivalents and restricted cash, beginning of year 105,692 121,853
Cash, cash equivalents and restricted cash, end of year 31,223 105,692
Non-cash investing and financing activities:    
Right-of-use operating lease assets in exchange for lease liabilities 2,112 4,351
Fixed assets acquired with finance lease 147 21
Accrued and unpaid capital expenditures 2,626 576
Issuance of convertible notes for interest paid-in-kind 6,267 2,900
Issuance of common stock under June 2022 Promissory Note 7,534 0
Accrued and unpaid debt issuance costs 5,536 0
Supplemental disclosures    
Cash paid for interest 5,766 157
At The Market Program    
Cash flows from financing activities    
Issuance of common stock 38,626 0
SEPA    
Cash flows from financing activities    
Issuance of common stock $ 5,000 $ 0