CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($) $ in Thousands |
6 Months Ended |
Jun. 30, 2015 |
Jun. 30, 2014 |
| Operating activities |
|
|
| Net income (loss) |
$ (2,190)
|
$ 1,472
|
| Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities: |
|
|
| Depreciation expense |
1,321
|
1,245
|
| Amortization of intangible assets |
728
|
196
|
| Provision for doubtful accounts |
172
|
163
|
| Stock-based compensation |
3,528
|
2,655
|
| Excess tax benefit from exercise of options for common stock |
|
(9)
|
| Changes in assets and liabilities: |
|
|
| Accounts receivable |
(1,458)
|
(1,734)
|
| Inventories |
(1,912)
|
(597)
|
| Prepaid expenses and other current assets |
(421)
|
(403)
|
| Other assets |
(116)
|
(168)
|
| Accounts payable |
(1,818)
|
(932)
|
| Accrued liabilities |
(256)
|
(1,154)
|
| Deferred revenue |
190
|
85
|
| Other long-term liabilities |
(369)
|
(33)
|
| Net cash provided by (used in) operating activities |
(2,601)
|
786
|
| Investing activities |
|
|
| Purchases of available-for-sale investments |
(36,272)
|
(72,536)
|
| Proceeds from sales of available-for-sale investments |
|
1,043
|
| Proceeds from maturities of available-for-sale investments |
39,079
|
2,100
|
| Purchases of property and equipment |
(1,927)
|
(1,230)
|
| Business acquisitions, net of cash acquired |
(8,380)
|
|
| Net cash used in investing activities |
(7,500)
|
(70,623)
|
| Financing activities |
|
|
| Proceeds from exercise of options for common stock |
710
|
4,241
|
| Excess tax benefit from exercise of options for common stock |
|
9
|
| Repurchase of common stock |
(2,148)
|
|
| Repayment of notes payable |
(506)
|
(555)
|
| Net cash provided by (used in) financing activities |
(1,944)
|
3,695
|
| Effect of exchange rate changes on cash and cash equivalents |
38
|
9
|
| Net decrease in cash and cash equivalents |
(12,007)
|
(66,133)
|
| Cash and cash equivalents at beginning of period |
29,187
|
84,546
|
| Cash and cash equivalents at end of period |
17,180
|
18,413
|
| Supplemental disclosure of cash flow information |
|
|
| Cash paid for interest |
65
|
78
|
| Cash paid for taxes |
121
|
100
|
| Supplemental schedule of non-cash investing and financing activities |
|
|
| Unsettled purchases of available-for-sale investments |
703
|
723
|
| Net unrealized losses on available-for-sale investments |
$ 28
|
$ 1
|