v3.24.2.u1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Cash flows from operating activities    
Net loss $ (44,984) $ (59,753)
Adjustments to reconcile net loss to net cash used in operating activities    
Depreciation and amortization 4,066 3,212
Amortization of operating lease assets 2,000 2,198
Stock-based compensation expense 27,259 29,726
Amortization of intangibles 1,474  
Amortization of premium (accretion of discount) on short-term investments (2,224) (1,771)
Provision for doubtful accounts 577 449
Write-down of inventory 667 2,837
Amortization of debt issuance costs 1,867 622
Non-cash interest expense 5,390  
Change in fair value of warrants (23,064)  
Change in fair value of contingent consideration 4,431  
Unrealized (gains) losses on foreign currency transactions (334) 54
Changes in operating assets and liabilities    
Accounts receivable 4,216 9,142
Inventories (7,695) (22,551)
Prepaid expenses and other current assets (2,114) (1,928)
Other assets (341) 364
Accounts payable 1,616 3,769
Accrued liabilities (11,913) (7,484)
Other long-term liabilities (1,660) (2,702)
Net cash provided by (used in) operating activities (40,766) (43,816)
Cash flows from investing activities    
Purchases of short-term investments (98,078) (93,578)
Proceeds from maturity of short-term investments 119,140 85,000
Payment for acquisition of business, net of cash acquired (45)  
Purchases of property and equipment (5,223) (4,796)
Net cash provided by (used in) investing activities 15,794 (13,374)
Cash flows from financing activities    
Convertible notes debt issuance costs (328)  
Minimum tax withholding paid on behalf of employees for net share settlement (1,913) (3,353)
Payment of contingent consideration established in purchase accounting (4,964)  
Proceeds from issuance of common stock to employees 2,722 5,202
Net cash provided by (used in) financing activities (4,483) 1,849
Effect of exchange rate changes on cash and cash equivalents (60) 154
Net increase (decrease) in cash, cash equivalents and restricted cash (29,515) (55,187)
Cash, cash equivalents and restricted cash    
Cash, cash equivalents and restricted cash at beginning of period 104,823 120,979
Cash, cash equivalents and restricted cash at end of period 75,308 65,792
Significant non-cash transactions    
Purchases of property and equipment in accounts payable 294 $ 435
Remeasurement of operating lease right-of-use assets for lease modification $ 15,457