XML 23 R8.htm IDEA: XBRL DOCUMENT v3.24.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Operating activities      
Net loss $ (151,584) $ (236,568) $ (250,460)
Adjustments to reconcile net loss to net cash used in operating activities:      
Amortization of debt discount and deferred financing 2,616 2,634 2,490
Depreciation and amortization 7,873 5,342 6,209
Stock-based compensation 86,077 76,512 57,838
Loss on extinguishment of debt 13,933 0 257
Non-cash changes in the fair value of contingent consideration payable 2,583 1,078 6,514
Foreign currency remeasurement loss 19,613 6,121 3,565
Non-cash deferred taxes (4,939) 9 34
Asset impairment charges and other asset write-offs 2,727 18,177 0
Changes in operating assets and liabilities:      
Accounts receivable (20,108) (17,330) (8,189)
Inventories (44,614) (5,343) (7,790)
Prepaid expenses and other current assets (8,062) (6,194) (5,919)
Accounts payable, accrued expenses, and other current liabilities 49,195 (6,377) 7,430
Other non-current assets and liabilities (3,054) (4,636) (4,117)
Payment of contingent consideration (21,347) 0 (10,353)
Net cash used in operating activities (69,091) (166,575) (202,491)
Investing activities      
Sale and redemption of marketable securities 197,227 335,926 424,043
Purchases of marketable securities (91,723) (243,255) (341,398)
Capital expenditures (7,440) (3,766) (3,884)
Proceeds from sale of assets 0 3,411 0
Net cash provided by investing activities 98,064 92,316 78,761
Financing activities      
Proceeds from the issuance of shares in connection with at-the-market offering, net of issuance costs 63,108 0 0
Proceeds from equity financing, net of issuance costs 29,827 0 199,750
Withholding taxes paid on vested restricted stock units (17,920) (11,490) (15,009)
Proceeds from stock options exercised, net 10,261 4,310 10,228
Proceeds from warrants exercised, net 12 0 19,230
Payment of long-term debt (408,043) 0 0
Proceeds from long-term debt, net of issuance costs 387,360 0 0
Payment of contingent consideration (2,653) 0 (1,647)
Payment of finance leases (275) (283) (479)
Net cash provided by (used in) financing activities 61,677 (7,463) 212,073
Effect of exchange rate changes on cash, cash equivalents, and restricted cash 6,312 (14,619) (5,049)
Net increase (decrease) in cash, cash equivalents, and restricted cash 96,962 (96,341) 83,294
Cash, cash equivalents, and restricted cash at the beginning of the year 153,115 249,456 166,162
Cash, cash equivalents, and restricted cash at the end of the year 250,077 153,115 249,456
Supplemental disclosures of cash flow information      
Tenant improvements paid through lease incentive 105 0 300
Cash paid during the period for interest 36,090 34,358 30,468
Capital expenditures unpaid at the end of period 868 1,141 1,448
Cash paid for income taxes $ 8,525 $ 1,609 $ 20,032