CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (USD $)
In Thousands, unless otherwise specified
3 Months Ended
Mar. 31, 2015
Mar. 31, 2014
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net income (loss) $ 4,386 $ (10,474)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 5,515 8,712
Amortization of inventory step-up in fair value 0 2,896
Share-based compensation 4,063 3,145
Deferred tax, net (977) (284)
(Gain) loss on sales of securities (59) 15
Other non-cash transactions 291 134
Changes in operating assets and liabilities:    
Accounts receivable, net (2,035) 130
Inventories 145 (2,456)
Prepaid expenses and other assets (916) 2,191
Accounts payable and accrued liabilities (9,533) 3,205
Deferred revenue (309) (2,527)
Other long-term liabilities 771 (82)
Net cash provided by operating activities 1,342 4,605
CASH FLOWS FROM INVESTING ACTIVITIES:    
Proceeds on sale of fixed assets 0 106
Capital expenditures (2,297) (1,111)
Purchase of technology rights (41) 0
Net cash used in investing activities (2,338) (1,005)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Issuance of common stock, net of issuance costs 26,658 184
Repayments of long-term debt (1,000) (3,250)
Net cash provided by (used in) financing activities 25,658 (3,066)
Effect of exchange rate changes on cash and cash equivalents (576) 44
Net increase in cash and cash equivalents 24,086 578
Cash and cash equivalents at beginning of period 79,923 57,128
Cash and cash equivalents at end of period $ 104,009 $ 57,706