XML 16 R7.htm IDEA: XBRL DOCUMENT v3.23.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Operating activities    
Net loss $ (52,932) $ (85,260)
Adjustments to reconcile net loss to net cash used in operating activities:    
Amortization of debt discount and deferred financing 667 637
Depreciation and amortization 1,257 1,411
Stock-based compensation 34,894 30,651
Non-cash changes in the fair value of contingent consideration payable 251 (1,188)
Foreign currency remeasurement loss 5,885 673
Deferred taxes (4,939) 0
Asset impairment charges and other asset write-offs 0 6,616
Changes in operating assets and liabilities:    
Accounts receivable (1,367) (1,000)
Inventories (3,158) 1,812
Prepaid expenses and other current assets 1,839 3,332
Accounts payable, accrued expenses, and other current liabilities (72) (14,563)
Other non-current assets and liabilities (394) (1,436)
Net cash used in operating activities (18,069) (58,315)
Investing activities    
Sale and redemption of marketable securities 54,944 108,328
Purchases of marketable securities (16,747) (49,244)
Capital expenditures (1,942) (871)
Net cash provided by investing activities 36,255 58,213
Financing activities    
Payment of finance leases (28) (20)
Purchase of vested restricted stock units, net of taxes (12,806) (8,993)
Proceeds from stock options exercised, net 2,655 859
Proceeds from the issuance of shares in connection with at-the-market offering, net of issuance costs 2,354 0
Net cash used in financing activities (7,825) (8,154)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash 1,507 (3,377)
Net increase (decrease) in cash, cash equivalents, and restricted cash at the end of the period 11,868 (11,633)
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 164,983 237,823
Supplemental disclosures of cash flow information    
Cash paid during the period for interest 11,361 7,509
Cash paid for taxes 178 456
Capital expenditures unpaid at the end of period $ 1,260 $ 72