CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($) $ in Thousands |
12 Months Ended |
Dec. 31, 2015 |
Dec. 31, 2014 |
Dec. 31, 2013 |
| Operating activities |
|
|
|
| Net income (loss) |
$ (1,652)
|
$ 8,156
|
$ 3,503
|
| Adjustments to reconcile net income (loss) to net cash provided by operating activities: |
|
|
|
| Depreciation expense |
2,926
|
2,547
|
2,201
|
| Amortization of intangible assets |
1,474
|
491
|
319
|
| Provision for doubtful accounts |
345
|
229
|
159
|
| Gain on inventory purchase commitment |
|
|
(380)
|
| Stock-based compensation |
7,034
|
5,341
|
3,760
|
| Excess tax benefit from exercise of options for common stock |
|
(91)
|
|
| Warrant liability expense |
|
|
709
|
| Changes in assets and liabilities: |
|
|
|
| Accounts receivable |
(1,127)
|
(5,331)
|
(2,104)
|
| Inventories |
(3,488)
|
1,025
|
(2,723)
|
| Restricted cash |
|
(330)
|
|
| Prepaid expenses and other current assets |
(1,443)
|
(323)
|
111
|
| Other assets |
(264)
|
(209)
|
(233)
|
| Accounts payable |
615
|
1,698
|
(1,221)
|
| Accrued liabilities |
248
|
(2,110)
|
620
|
| Deferred revenue |
258
|
199
|
102
|
| Other long-term liabilities |
(512)
|
(44)
|
(1,155)
|
| Net cash provided by operating activities |
4,414
|
11,248
|
3,668
|
| Investing activities |
|
|
|
| Purchases of available-for-sale investments |
(50,619)
|
(89,844)
|
|
| Proceeds from sales of available-for-sale investments |
2,018
|
2,850
|
|
| Proceeds from maturities of available-for-sale investments |
65,142
|
18,915
|
|
| Purchases of property and equipment |
(3,772)
|
(2,710)
|
(3,470)
|
| Business acquisitions, net of cash acquired |
(8,380)
|
(1,116)
|
(147)
|
| Net cash provided by (used in) investing activities |
4,389
|
(71,905)
|
(3,617)
|
| Financing activities |
|
|
|
| Proceeds from issuance of common stock, net of issuance costs |
|
|
65,556
|
| Proceeds from exercise of options for common stock |
1,360
|
6,411
|
446
|
| Excess tax benefit from exercise of options for common stock |
|
91
|
|
| Repurchase of common stock |
(9,020)
|
|
|
| Proceeds from notes payable |
|
|
1,145
|
| Repayment of notes payable |
(915)
|
(1,138)
|
(1,338)
|
| Net cash provided by (used in) financing activities |
(8,575)
|
5,364
|
65,809
|
| Effect of exchange rate changes on cash and cash equivalents |
115
|
(66)
|
(9)
|
| Net decrease in cash and cash equivalents |
343
|
(55,359)
|
65,851
|
| Cash and cash equivalents at beginning of period |
29,187
|
84,546
|
18,695
|
| Cash and cash equivalents at end of period |
29,530
|
29,187
|
84,546
|
| Supplemental disclosure of cash flow information |
|
|
|
| Cash paid for interest |
101
|
188
|
461
|
| Cash paid for taxes |
831
|
246
|
153
|
| Supplemental schedule of non-cash investing and financing activities |
|
|
|
| Options for common stock granted in connection with a business acquisition |
|
|
174
|
| Elimination of liability upon net exercise of warrants to purchase preferred stock |
|
|
1,310
|
| Conversion of redeemable convertible preferred stock to common stock |
|
|
$ 116,313
|
| Landlord paid tenant improvements |
|
739
|
|
| Purchases of property and equipment financed by accounts payable |
|
257
|
|
| Net unrealized losses on available-for-sale investments |
$ (14)
|
$ (47)
|
|