XML 20 R7.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Cash flows from operating activities      
Net loss $ (128,081) $ (79,000) $ (142,110)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization 26,087 17,682 3,290
Change in valuation of warrant liability 0 0 (47)
Change in the fair value of deferred and contingent consideration 19,340 0 0
Amortization of (discounts) premiums on investments, net (433) 535 1,885
Amortization of debt issuance costs 524 433 302
Share-based compensation expense 33,252 30,559 35,009
Non-cash interest expense 7,518 6,755 6,065
Disposal of asset 2 5 0
Benefit for deferred income taxes 0 199 (199)
Unrealized foreign currency transaction (gains) losses, net (59) (459) 1,202
Changes in operating assets and liabilities:      
Inventory, net (5,823) (6,454) 0
Prepaid expenses and other current assets (1,609) (1,784) 1,171
Trade receivables, net (29,589) (12,203) (14,842)
Deposits and other assets (1,093) (544) (278)
Accounts payable and accrued expenses 43,877 24,011 4,259
Other liabilities 1,932 733 (799)
Deferred revenue 6,514 9,469 1,526
Net cash used in operating activities (27,641) (10,063) (103,566)
Cash flows from investing activities      
Purchases of fixed assets (7,097) (3,101) (1,776)
Purchases of marketable securities (68,614) (81,368) (85,377)
Sale & redemption of marketable securities 90,423 174,749 191,634
Acquisition of product rights (8,433) (77,163) 0
Business acquisition, net of cash acquired (48,892) 0 0
Net cash (used in) provided by investing activities (42,613) 13,117 104,481
Cash flows from financing activities      
Proceeds from exercise of options 10,868 2,182 968
Proceeds from shares issued under employee stock purchase plan 2,787 2,468 0
Debt issuance costs related to secured term loan 0 (432) 0
Net proceeds from public offering 117,916 0 0
Proceeds from issuance of secured term loan 0 40,000 0
Net cash provided by financing activities 131,571 44,218 968
Effect of exchange rate changes on cash (3,611) 6,199 (1,584)
Net increase in cash and cash equivalents 57,706 53,471 299
Cash and cash equivalents, beginning of period 111,792 58,321 58,022
Cash and cash equivalents, end of period 169,498 111,792 58,321
Supplemental disclosure of cash information      
Cash paid for interest 7,773 6,271 4,513
Cash paid for income taxes 1,583 1,101 943
Supplemental disclosures of non-cash information related to investing and financing activities      
Change in unrealized gain on marketable securities, net of tax 9 225 386
Acquisition of product rights and licenses $ (5,981) $ 0 $ 0