v3.22.2.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities:    
Net loss $ (72,785) $ (45,265)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 10,217 6,147
Stock-based compensation expense 20,758 9,389
Reduction in carrying amount of right-of-use assets 4,820 3,201
Other 1,409 1,768
Changes in operating assets and liabilities:    
Accounts receivable, net 795 (72)
Inventory, net (6,222) (587)
Other current and non-current assets (1,732) (4,720)
Accounts payable (3,000) 574
Accrued and other current liabilities 6,918 14,082
Seller payable (380) 4,582
Operating lease liabilities 2,396 (3,235)
Other non-current liabilities (133) 4
Net cash used in operating activities (36,939) (14,132)
Cash flows from investing activities:    
Purchases of marketable securities (3,475) (102,715)
Maturities of marketable securities 35,830 1,600
Purchases of property and equipment, net (39,316) (15,207)
Net cash used in investing activities (6,961) (116,322)
Cash flows from financing activities:    
Proceeds from debt, net of discount 491 4,625
Repayment of debt (5,333) (2,000)
Proceeds from issuance of Class A common stock, net of underwriting discounts and commissions 0 226,905
Payment of costs for the initial public offering and the follow-on offering 0 (4,251)
Proceeds from exercise of stock options and employee stock purchase plan 3,878 3,782
Tax withholding related to vesting of restricted stock units (1,958) (29)
Net cash provided by (used in) financing activities (2,922) 229,032
Effect of exchange rate changes on cash, cash equivalents and restricted cash (918) 0
Net change in cash, cash equivalents and restricted cash (47,740) 98,578
Cash, cash equivalents and restricted cash:    
Cash, cash equivalents and restricted cash, beginning of period 91,840 67,539
Cash, cash equivalents and restricted cash, end of period $ 44,100 $ 166,117