XML 21 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities    
Net loss $ (79,751) $ (80,270)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 19,316 11,743
Change in valuation of warrant liability 3 3
Non-cash interest expense 5,563 4,999
Loss on disposal of asset 2 5
Amortization of premiums and accretion of discounts on investments, net (354) 493
Amortization of debt issuance costs 390 308
Share-based compensation expense 24,773 24,082
Unrealized foreign currency transaction gains (977) (364)
Changes in operating assets and liabilities:    
Inventory (3,252) (3,625)
Prepaid expenses and other current assets (1,301) (570)
Trade receivables, net (2,681) (10,994)
Deposits and other assets (385) (485)
Accounts payable and accrued expenses 18,606 11,807
Other liabilities 1,617 807
Deferred revenue 5,933 10,710
Net cash used in operating activities (12,498) (31,351)
Cash flows from investing activities    
Purchases of fixed assets (2,489) (1,058)
Purchases of marketable securities (28,656) (19,467)
Sale and redemption of marketable securities 65,923 164,847
Acquisition of product rights (3,903) (77,163)
Business acquisition, net of cash acquired (48,892) 0
Net cash (used in) / provided by investing activities (18,017) 67,159
Cash flows from financing activities    
Proceeds from exercise of options 8,631 1,437
Net proceeds from public offerings 117,915 0
Proceeds from shares issued under employee stock purchase plan 1,299 1,362
Debt issuance costs related to secured term loan 0 (432)
Proceeds from issuance of secured term loan 0 40,000
Net cash provided by financing activities 127,845 42,367
Effect of exchange rate changes on cash (2,209) 5,342
Net increase in cash and cash equivalents 95,121 83,517
Cash and cash equivalents, beginning of period 111,792 58,321
Cash and cash equivalents, end of period 206,913 141,838
Supplemental disclosure of cash information    
Cash paid for interest 6,927 5,496
Cash paid for income taxes 919 616
Supplemental disclosure of non-cash investing and financing activity    
Unrealized gain (loss) on marketable securities (50) 0
Acquisition of product rights and licenses $ (4,530) $ 0