XML 27 R7.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Operating activities:      
Net income (loss) $ (42,611) $ (37,949) $ 1,856
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation of fixed assets and amortization of intangibles 13,833 12,919 11,475
Amortization of unfavorable lease obligation and debt issuance costs 1,248 479 481
Amortization of debt discount 10,423 4,088 4,102
Loss on disposal of fixed assets 2,133 389 6
Loss on early extinguishment of debt 3,732   52
Stock-based compensation 31,601 31,248 33,368
Changes in operating assets and liabilities:      
Restricted cash 0 0 1,509
Accounts receivable, net (1,721) (4,082) (3,489)
Inventories, net (10,133) 30,367 (32,382)
Prepaid expenses and other assets 3,476 (3,377) (2,007)
Accounts payable, accrued expenses and income taxes payable 9,359 710 8,966
Royalty interest obligation 0 0 (276)
Other liabilities (3,555) (1,339) 4,360
Net cash provided by operating activities 17,785 33,453 28,021
Investing activities:      
Purchases of fixed assets (19,266) (24,709) (40,295)
Purchases of investments (502,752) (192,815) (189,082)
Sales of investments 321,713 171,627 217,240
Payment of contingent consideration (8,460) (15,857) (7,119)
Equity investments (15,000) 0 0
Net cash used in investing activities (223,765) (61,754) (19,256)
Financing activities:      
Proceeds from exercise of stock options 6,778 5,770 10,073
Proceeds from shares issued under employee stock purchase plan 1,862 1,495 2,093
Proceeds from 2022 convertible senior notes 345,000 0 0
Repayment of 2019 convertible senior notes (118,193) (4) (1,467)
Payment of debt issuance and financing costs (11,000) 0 0
Costs for conversion of convertible senior notes (285) 0 0
Net cash provided by financing activities 224,162 7,261 10,699
Net increase (decrease) in cash and cash equivalents 18,182 (21,040) 19,464
Cash and cash equivalents, beginning of year 35,944 56,984 37,520
Cash and cash equivalents, end of year 54,126 35,944 56,984
Supplemental cash flow information:      
Cash paid for interest, including royalty interest obligation 6,896 3,852 4,224
Cash paid for income taxes, net of refunds 129 247 195
Non-cash investing and financing activities:      
Issuance of common stock from conversion of 2019 convertible senior notes 120,960 0 3,929
Issuance of common stock from conversion of 2019 convertible senior notes (126,328) 0 0
Net increase (decrease) in accrued fixed assets $ 2,189 $ (789) $ 1,393