XML 16 R7.htm IDEA: XBRL DOCUMENT v3.22.1
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Operating activities    
Net loss $ (85,260) $ (65,664)
Adjustments to reconcile net loss to net cash used in operating activities:    
Amortization of debt discount and deferred financing 637 555
Depreciation and amortization 1,411 1,604
Stock-based compensation 30,651 20,354
Non-cash changes in the fair value of contingent consideration payable (1,188) 471
Foreign currency remeasurement loss 673 2,846
Loss on impairment of assets 6,616 0
Changes in operating assets and liabilities:    
Accounts receivable (1,000) 839
Inventories 1,812 741
Prepaid expenses and other current assets 3,332 7,669
Accounts payable, accrued expenses, and other current liabilities (14,563) (40,191)
Other non-current assets and liabilities (1,436) (1,578)
Net cash used in operating activities (58,315) (72,354)
Investing activities    
Sale and redemption of marketable securities 108,328 163,680
Purchases of marketable securities (49,244) (76,247)
Capital expenditures (871) (868)
Net cash provided by investing activities 58,213 86,565
Financing activities    
Payment of finance leases (20) (368)
Proceeds from warrants exercised 0 19,230
Purchase of vested restricted stock units, net of taxes (8,993) (14,194)
Proceeds from stock options exercised, net 859 4,161
Net cash (used in) provided by financing activities (8,154) 8,829
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (3,377) (1,153)
Net (decrease) increase in cash, cash equivalents, and restricted cash at the end of the period (11,633) 21,887
Cash, cash equivalents, and restricted cash at the beginning of period 249,456 166,162
Cash, cash equivalents, and restricted cash at the end of period 237,823 188,049
Supplemental disclosures of cash flow information    
Cash paid during the period for interest 7,509 7,513
Capital expenditures unpaid at the end of period 72 188
Cash paid for taxes $ 456 $ 2,472