XML 17 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities:    
Net income (loss) $ 37,998 $ (27,099)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Share-based compensation expense 11,112 18,616
Amortization of net premiums and discounts on investments (78)  
Amortization of debt discount and debt issuance costs 7,973 6,365
Depreciation and amortization expense 6,648 11,723
Change in acquired contingent consideration obligation (800) 17,200
Unrealized foreign currency transaction loss   247
Non-cash royalty revenue (5,326)  
Deferred tax provision (benefit) 12,633 (1,618)
Changes in assets and liabilities:    
Decrease (increase) in accounts receivable 17,042 (3,325)
(Increase) decrease in prepaid expenses and other current assets (1,640) 3,805
Decrease (increase) in inventory 16,355 (778)
Decrease in non-current portion of deferred cost of license revenue   317
Decrease (increase) in other assets 17 (3,924)
Decrease in accounts payable, accrued expenses and other current liabilities (17,036) (32,229)
Decrease in non-current portion of deferred license revenue   (4,529)
Increase in other non-current liabilities 61 69
Net cash provided by (used in) operating activities 84,959 (15,160)
Cash flows from investing activities:    
Purchases of property and equipment (10,793) (8,747)
Purchases of intangible assets (162) (207)
Purchases of investments (148,371)  
Net cash used in investing activities (159,326) (8,954)
Cash flows from financing activities:    
Proceeds from issuance of common stock and option exercises 12,727 5,474
Refund of deposit for purchase of noncontrolling interest   2,722
Purchase of treasury stock (1,587) (60)
Repayment of loans payable (656) (2,409)
Net cash provided by financing activities 10,484 5,727
Effect of exchange rate changes on cash, cash equivalents and restricted cash (84) 906
Net decrease in cash, cash equivalents and restricted cash (63,967) (17,481)
Cash, cash equivalents and restricted cash at beginning of period 308,039 158,871
Cash, cash equivalents and restricted cash at end of period 244,072 141,390
Supplemental disclosure:    
Cash paid for interest 3,045 3,047
Cash paid for taxes $ 13,554 $ 7,682