XML 17 R7.htm IDEA: XBRL DOCUMENT v3.23.3
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2023
Sep. 30, 2022
Operating activities    
Net loss $ (117,741) $ (180,703)
Adjustments to reconcile net loss to net cash used in operating activities:    
Amortization of debt discount and deferred financing 2,080 1,963
Depreciation and amortization 5,691 4,031
Stock-based compensation 67,982 57,886
Non-cash changes in the fair value of contingent consideration payable 2,583 (506)
Foreign currency remeasurement loss 18,121 2,828
Deferred taxes (4,939) 0
Asset impairment charges and other asset write-offs 2,360 17,271
Changes in operating assets and liabilities:    
Accounts receivable (8,614) (7,426)
Inventories (42,233) 4,913
Prepaid expenses and other current assets (26,010) (5,583)
Accounts payable, accrued expenses, and other current liabilities 41,101 25,465
Other non-current assets and liabilities (4,993) (5,942)
Payment of contingent consideration (7,937) 0
Net cash used in operating activities (72,549) (85,803)
Investing activities    
Sale and redemption of marketable securities 180,828 259,920
Purchases of marketable securities (53,098) (99,811)
Capital expenditures (5,709) (1,089)
Net cash provided by investing activities 122,021 159,020
Financing activities    
Payment of finance leases (82) (92)
Withholding taxes paid on vested restricted stock units (16,355) (11,119)
Proceeds from stock options exercised, net 7,847 3,191
Proceeds from warrants exercised, net 12 0
Proceeds from the issuance of shares in connection with at-the-market offering, net of issuance costs 63,108 0
Payment of contingent consideration (1,063) 0
Net cash provided by (used in) financing activities 53,467 (8,020)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash 10,218 (33,120)
Net increase in cash, cash equivalents, and restricted cash at the end of the period 113,157 32,077
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 266,272 281,533
Supplemental disclosures of cash flow information    
Cash paid during the period for interest 35,448 24,058
Cash paid for taxes 6,473 935
Capital expenditures unpaid at the end of period $ 877 $ 53