XML 18 R8.htm IDEA: XBRL DOCUMENT v3.21.2
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Operating activities    
Net loss $ (116,889) $ (141,440)
Adjustments to reconcile net loss to net cash used in operating activities:    
Amortization of debt discount and deferred financing 1,200 532
Depreciation and amortization 3,171 3,803
Stock-based compensation 32,090 21,004
Non-cash changes in the fair value of contingent consideration payable 1,492 1,646
Foreign currency remeasurement loss 3,235 5,604
Changes in operating assets and liabilities:    
Accounts receivable (3,127) (10,388)
Inventories (4,445) 1,351
Prepaid expenses and other current assets 5,265 1,375
Accounts payable and accrued expenses (28,485) (23,916)
Other non-current assets and liabilities (1,784) (1,031)
Net cash used in operating activities (108,277) (141,460)
Investing activities    
Sale and redemption of marketable securities 258,767 210,139
Purchases of marketable securities (145,255) (45,005)
Capital expenditures (1,234) (1,876)
Net cash provided by investing activities 112,278 163,258
Financing activities    
Payment of finance leases (389) (38)
Payments of employee withholding taxes related to restricted stock unit vesting (14,438) (8,097)
Proceeds from stock options exercised, net 6,661 10,734
Proceeds from warrant exercises 19,230 0
Net cash provided by financing activities 11,064 2,599
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (1,439) (3,476)
Net increase in cash, cash equivalents, and restricted cash at the end of the period 13,626 20,921
Cash, cash equivalents, and restricted cash at beginning of period 166,162 146,341
Cash, cash equivalents, and restricted cash at the end of period 179,788 167,262
Supplemental disclosures of cash flow information    
Tenant improvements paid through lease incentives 67 455
Cash paid during the period for interest 15,109 10,709
Capital expenditures unpaid at the end of period 191 502
Cash paid for taxes $ 4,526 $ 1,956