XML 19 R7.htm IDEA: XBRL DOCUMENT v3.23.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Operating activities    
Net loss $ (96,164) $ (147,417)
Adjustments to reconcile net loss to net cash used in operating activities:    
Amortization of debt discount and deferred financing 1,359 1,295
Depreciation and amortization 3,463 2,745
Stock-based compensation 51,471 43,114
Non-cash changes in the fair value of contingent consideration payable 588 (1,073)
Foreign currency remeasurement loss 23,904 353
Deferred taxes (4,939) 0
Asset impairment charges and other asset write-offs 2,060 12,265
Changes in operating assets and liabilities:    
Accounts receivable 2,705 (4,424)
Inventories (27,483) 3,537
Prepaid expenses and other current assets (12,263) (4,481)
Accounts payable, accrued expenses, and other current liabilities 31,620 22,671
Other non-current assets and liabilities (2,586) (2,762)
Payment of contingent consideration (7,937) 0
Net cash used in operating activities (34,202) (74,177)
Investing activities    
Sale and redemption of marketable securities 126,848 184,061
Purchases of marketable securities (36,448) (98,330)
Capital expenditures (4,144) (1,226)
Net cash provided by investing activities 86,256 84,505
Financing activities    
Payment of finance leases (51) (41)
Withholding taxes paid on vested restricted stock units (14,008) (9,278)
Proceeds from stock options exercised, net 4,405 1,858
Proceeds from warrants exercised, net 12 0
Proceeds from the issuance of shares in connection with at-the-market offering, net of issuance costs 26,553 0
Payment of contingent consideration (1,063) 0
Net cash provided by (used in) financing activities 15,848 (7,461)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (6,684) (12,462)
Net increase (decrease) in cash, cash equivalents, and restricted cash at the end of the period 61,218 (9,595)
Cash, cash equivalents, and restricted cash at the beginning of period 153,115 249,456
Cash, cash equivalents, and restricted cash at the end of period 214,333 239,861
Supplemental disclosures of cash flow information    
Cash paid during the period for interest 23,155 15,108
Cash paid for taxes 5,978 710
Capital expenditures unpaid at the end of period $ 297 $ 53