XML 16 R7.htm IDEA: XBRL DOCUMENT v3.22.2
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Operating activities    
Net loss $ (147,417) $ (116,889)
Adjustments to reconcile net loss to net cash used in operating activities:    
Amortization of debt discount and deferred financing 1,295 1,200
Depreciation and amortization 2,745 3,171
Stock-based compensation 43,114 32,090
Non-cash changes in the fair value of contingent consideration payable (1,073) 1,492
Foreign currency remeasurement loss 353 3,235
Asset impairment charges and other asset write-offs 12,265 0
Changes in operating assets and liabilities:    
Accounts receivable (4,424) (3,127)
Inventories 3,537 (4,445)
Prepaid expenses and other current assets (4,481) 5,265
Accounts payable, accrued expenses, and other current liabilities 22,671 (28,485)
Other non-current assets and liabilities (2,762) (1,784)
Net cash used in operating activities (74,177) (108,277)
Investing activities    
Sale and redemption of marketable securities 184,061 258,767
Purchases of marketable securities (98,330) (145,255)
Capital expenditures (1,226) (1,234)
Net cash provided by investing activities 84,505 112,278
Financing activities    
Payment of finance leases (41) (389)
Proceeds from warrants exercised 0 19,230
Purchase of vested restricted stock units, net of taxes (9,278) (14,438)
Proceeds from stock options exercised, net 1,858 6,661
Net cash (used in) provided by financing activities (7,461) 11,064
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (12,462) (1,439)
Net (decrease) increase in cash, cash equivalents, and restricted cash at the end of the period (9,595) 13,626
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 239,861 179,788
Supplemental disclosures of cash flow information    
Cash paid during the period for interest 15,108 15,109
Cash paid for taxes 710 4,526
Capital expenditures unpaid at the end of period 53 191
Tenant improvements paid through lease incentives $ 0 $ 67