Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Cash flows provided by operating activities      
Net income $ 46,421 $ 53,200 $ 74,034
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 10,187 8,981 10,316
Provision for (benefit from) deferred income taxes (3,721) 5,388 (1,972)
Change in fair value of derivative instruments (3,295) (396) (617)
Other than temporary impairment of marketable securities 606   336
Impairment of fixed assets   247 18,102
Gain on sale of investments (713) (4,335) (1,982)
Losses on disposals of fixed assets 178 108 261
Stock based compensation 2,043 1,440  
Noncash interest expense 26 25 24
Changes in operating assets and liabilities:      
Accounts receivable 3,816 (21,515) (5,838)
Accounts receivable – related parties 1,163 3,456 (4,629)
Inventory (19,604) (3,189) (172)
Income taxes receivable 5,602 (4,984) (14,732)
Prepaid expenses 28 173 (248)
Prepaid expenses - related parties (35)   32
Accrued interest on marketable securities 30 99 (79)
Other assets (668) 65 (266)
Accounts payable 4,056 15,459 2,338
Accounts payable - related parties (2,668) 2,055 (3,030)
Income taxes payable     (620)
Accrued expenses and other current liabilities (1,673) (3,153) 4,209
Accrued expenses and other current liabilities - related parties (46) 43 3
Deferred revenue 721 (2,524) (14,734)
Other noncurrent liabilities (2,831) 1,309 1,718
Net cash provided by operating activities 39,623 51,952 62,454
Cash flows from investing activities      
Collateralization of derivative instruments 1,239 (985) 1,374
Purchase of marketable securities (39,136) (41,369) (49,348)
Proceeds from the sale of marketable securities 48,546 57,098 41,198
Sales of auction rate securities     1,150
Proceeds from the sale of fixed assets 6 81 57
Expenditures for intangible assets (1,408)    
Capital expenditures (7,222) (8,117) (18,542)
Net cash provided by (used in) investing activities 2,025 6,708 (24,111)
Cash flows from financing activities      
Proceeds from the issuance of stock     19,292
Minimum tax withholding on stock options exercised (120) (175) (45)
Excess tax benefits associated with stock awards and options (344) 59 40
Deferred financing costs (721)    
Payment of dividend (10,493) (20,928) (29,904)
Net cash used in financing activities (11,678) (21,044) (10,617)
Net change in cash and cash equivalents 29,970 37,616 27,726
Cash and cash equivalents at beginning of period 124,079 86,463 58,737
Cash and cash equivalents at end of period 154,049 124,079 86,463
Cash paid for interest     23
Cash paid for income taxes $ 13,381 $ 12,372 $ 38,890