XML 25 R9.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Operating activities      
Net loss $ (127,905) $ (126,247) $ (67,159)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization 22,836 12,817 7,504
Stock-based compensation expense 19,520 7,183 1,010
Bad debt expense 863 309 133
Change in fair value of warrants (49,063) (12,127) 661
Amortization related to financing activities 9,279 1,389 2,507
Loss on extinguishment of debt 0 11,742 0
Loss on divestiture of discontinued operations 10,246 0 0
Impairment 11,579 0 4,832
Gain (Loss ) And Accretion (Amortization) of Discounts and Premiums, Investments 4,755 0 0
Other 4,579 (65) 364
Changes in operating assets and liabilities:      
Accounts receivable (3,070) (7,038) 693
Inventories (4,663) (11,690) (5,364)
Other assets 6,542 (13,149) (30)
Accounts payable (5,313) 11,293 (1,949)
Accrued expenses 6,419 7,539 4,120
Other liabilities 0 294 0
Net cash used in operating activities (93,396) (117,750) (52,678)
Investing activities      
Purchases of marketable securities (372,170) (648,923) (208,780)
Proceeds from maturities of marketable securities 139,063 2,499 9,070
Proceeds from sales of marketable securities 193,250 639,612 107,243
Payments for acquisitions of property and equipment (16,486) (31,490) (9,855)
Payments made in connection with business acquisitions (1,034) (116,287) 0
Proceeds from divestitures of discontinued operations 17,131 0 1,650
Net cash used in investing activities (40,246) (154,589) (100,672)
Financing activities      
Net contributions from Merger, at-the-market offering and PIPE financing, net of transaction costs of $4,087 and $34,940 for 2022 and 2021, respectively 81,109 285,378 0
Payments for extinguishment of debt 0 (43,082) 0
Principal payments on debt (7,288) (4,400) (8,941)
Proceeds from issuance of debt 23,540 103,634 24,534
Borrowing under revolving line of credit 19,774 20,954 25,587
Repayments under revolving line of credit (19,821) (20,907) (27,082)
Proceeds from issuance of redeemable convertible preferred stock, net of costs 0 0 154,420
Retirement of redeemable convertible preferred stock 0 0 (7,766)
Repayments of financing lease obligations (1,630) (703) (121)
Proceeds from the exercise of stock options and warrants 2,325 681 72
Net cash provided by financing activities 98,009 341,555 160,703
Effect of exchange rate changes on cash (9) 4 (226)
Net (decrease) increase in cash, cash equivalents and restricted cash (35,642) 69,220 7,127
Cash, cash equivalents and restricted cash, beginning of year 78,963 9,743 2,616
Cash, cash equivalents and restricted cash, end of year 43,321 78,963 9,743
Supplemental disclosure of cash flow information      
Cash paid for taxes 57 53 0
Cash paid for interest 14,398 6,591 4,685
Supplemental disclosure of non-cash activities      
Issuance of Notes Payable Warrants and Convertible Notes Payable Warrants 0 6,663 4,580
Conversion of Notes Payable Warrants upon Merger 0 4,576 0
Public Warrants and Private Placement Warrants acquired in Merger 0 50,850 0
Issuance of conversion option 0 8,783 0
Purchases of property and equipment included in accounts payable and accrued expenses and other current liabilities 3,058 3,578 669
Purchases of inventory included in accounts payable and accrued expenses and other current liabilities 1,553 1,854 0
Financing leases $ 806 $ 46,021 $ 33,523