XML 26 R8.htm IDEA: XBRL DOCUMENT v3.20.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Operating activities      
Net loss $ (276,852) $ (356,388) $ (348,995)
Adjustments to reconcile net loss to net cash used in operating activities:      
Amortization of debt discount and deferred financing 1,794 2,546 10,976
Depreciation and amortization 8,846 4,775 4,216
Stock-based compensation 49,151 44,430 29,260
Loss on exchange of convertible notes 0 40,624 0
Loss on extinguishment of debt 7,276 0 0
Change in fair value of derivatives 0 0 2,739
Non-cash changes in the fair value of contingent consideration payable 3,144 3,297 3,300
Foreign currency remeasurement loss 5,471 254 3,217
Non-cash deferred taxes (155) (1,415) 0
Other 99 (149) 59
Changes in operating assets and liabilities:      
Accounts receivable (11,219) (11,114) (13,294)
Inventories (4,639) (5,114) (4,205)
Prepaid expenses and other current assets (8,766) (3,287) 2,488
Accounts payable, accrued expenses, and other current liabilities (10,610) 46,742 17,115
Other non-current assets and liabilities 4,420 (10,117) (581)
Deferred reimbursements (1,250) (5,500) (6,250)
Net cash used in operating activities (233,290) (250,416) (299,955)
Investing activities      
Sale and redemption of marketable securities 354,826 499,047 463,502
Purchases of marketable securities (365,178) (383,882) (578,394)
Capital expenditures (3,227) (20,012) (6,308)
Net cash (used in) provided by investing activities (13,579) 95,153 (121,200)
Financing activities      
Proceeds from issuance of common stock, net of issuance costs 0 188,994 294,584
Payment of long-term debt (155,249) 0 0
Proceeds from long-term debt, net of issuance costs 385,929 0 146,596
Payment of finance leases (76) (420) (334)
Purchase of vested restricted stock units (10,028) (3,235) (2,832)
Proceeds from termination of capped call confirmations 0 19,875 0
Proceeds from exercise of stock options 42,282 11,476 9,144
Proceeds from exercise of warrants 0 812 3,617
Net cash provided by financing activities 262,858 217,502 450,775
Effect of exchange rate changes on cash, cash equivalents, and restricted cash 3,830 1,729 1,518
Net increase in cash, cash equivalents, and restricted cash 19,819 63,968 31,138
Cash, cash equivalents, and restricted cash at the beginning of the year 146,343 82,375 51,237
Cash, cash equivalents, and restricted cash at the end of the year 166,162 146,343 82,375
Supplemental disclosures of cash flow information      
Tenant improvements paid through lease incentive 470 19,388 0
Cash paid during the period for interest 24,683 16,966 7,500
Contingent consideration paid in shares 0 9,316 0
Capital expenditures unpaid at the end of period 985 1,865 106
Cash paid for taxes $ 10,371 $ 691 $ 1,062