XML 19 R7.htm IDEA: XBRL DOCUMENT v3.7.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Operating activities:    
Net loss $ (39,609) $ (11,812)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation of fixed assets and amortization of intangibles 6,813 6,381
Amortization of unfavorable lease obligation and debt issuance costs 524 240
Amortization of debt discount 4,362 2,044
Loss on early extinguishment of debt 3,732 0
Loss on disposal of fixed assets 2,030 0
Stock-based compensation 14,744 16,155
Changes in operating assets and liabilities:    
Accounts receivable, net 2,470 (2,796)
Inventories, net (2,324) 729
Prepaid expenses and other assets 1,849 92
Accounts payable, accrued expenses and income taxes payable 10,551 (8,658)
Other liabilities (1,480) 2,045
Net cash provided by operating activities 3,662 4,420
Investing activities:    
Purchases of fixed assets (8,771) (15,921)
Purchases of investments (274,791) (121,790)
Sales of investments 82,782 100,065
Payment of contingent consideration (4,206) (3,871)
Net cash used in investing activities (204,986) (41,517)
Financing activities:    
Proceeds from exercise of stock options 2,613 4,431
Proceeds from Shares Issued Under Employee Stock Purchase Plans 1,056 995
Proceeds from 2022 convertible senior notes 345,000 0
Repayment of debt (118,191) (4)
Payment of debt issuance and financing costs (11,000) 0
Costs for conversion of convertible senior notes (284) 0
Net cash provided by financing activities 219,194 5,422
Net increase (decrease) in cash and cash equivalents 17,870 (31,675)
Cash and cash equivalents, beginning of period 35,944 56,984
Cash and cash equivalents, end of period 53,814 25,309
Supplemental cash flow information:    
Cash paid for interest 2,384 1,926
Cash paid for income taxes, net of refunds 133 241
Non-cash investing and financing activities:    
Issuance of common stock from conversion of 2019 convertible senior notes 120,960 0
Retirement of equity component of 2019 convertible senior notes (126,326) 0
Equity component of the 2022 convertible senior notes 70,930 0
Net increase (decrease) in accrued fixed assets 2,294 (662)
Accrued payment of contingent consideration $ 0 $ (8,000)