Consolidated Statements of Cash Flows - USD ($) $ in Thousands |
12 Months Ended |
Dec. 31, 2015 |
Dec. 31, 2014 |
Dec. 31, 2013 |
| Cash flows from operating activities: |
|
|
|
| Net income (loss) |
$ 8,780
|
$ (5,845)
|
$ (2,361)
|
| (Loss) income from discontinued operations |
(691)
|
(1,599)
|
3,546
|
| Income (loss) from continuing operations |
9,471
|
(4,246)
|
(5,907)
|
| Adjustments to reconcile net income (loss) to net cash used in operating activities: |
|
|
|
| Loss on impairment |
0
|
0
|
608
|
| Depreciation |
266
|
184
|
615
|
| Stock-based compensation |
813
|
532
|
201
|
| Settlement of acquisition obligations |
0
|
0
|
(892)
|
| Provision for doubtful accounts receivable |
39
|
2
|
(32)
|
| Provision for slow-moving and obsolete inventory |
1,464
|
194
|
146
|
| Amortization of intangible assets |
0
|
0
|
0
|
| Amortization of discounts on long-term borrowings and acquisition related liabilities |
0
|
2,815
|
443
|
| Amortization of loan origination fees |
40
|
140
|
159
|
| Change in estimate of contingent liabilities |
0
|
0
|
12
|
| Loss (gain) on dispositions of property and equipment |
3
|
2
|
6
|
| Change in operating assets and liabilities: |
|
|
|
| Accounts receivable, inventories, and other assets |
(9,674)
|
(4,781)
|
(73)
|
| Accounts payable and accrued liabilities |
2,064
|
4,933
|
(849)
|
| Deferred revenue |
(40)
|
62
|
(680)
|
| Total adjustments |
(5,025)
|
4,083
|
(336)
|
| Net cash provided by (used in) operating activities |
4,446
|
(163)
|
(6,243)
|
| Cash flows from investing activities: |
|
|
|
| Acquisitions of property and equipment |
(2,242)
|
(194)
|
(174)
|
| Proceeds from the sale of property and equipment |
0
|
130
|
0
|
| Net cash used in investing activities |
(2,242)
|
(64)
|
(174)
|
| Cash flows from financing activities: |
|
|
|
| Proceeds from warrants exercised |
2,503
|
0
|
0
|
| Proceeds from issuances of common stock, net |
23,574
|
5,952
|
0
|
| Proceeds from exercise of stock options and purchases through employee stock purchase plan |
346
|
58
|
48
|
| Proceeds from other borrowings |
0
|
0
|
6,124
|
| Payments on other borrowings |
(13)
|
(223)
|
(304)
|
| Net (repayments) proceeds from credit line borrowings |
(453)
|
453
|
(1,590)
|
| Net cash provided by financing activities |
25,957
|
6,240
|
4,278
|
| Net cash provided by (used in) continuing operations |
28,161
|
6,013
|
(2,139)
|
| Cash flows of discontinued operations: |
|
|
|
| Operating cash flows, net |
(691)
|
(604)
|
3,279
|
| Investing cash flows, net |
181
|
0
|
(38)
|
| Financing cash flows, net |
(446)
|
136
|
0
|
| Net cash used in discontinued operations |
(956)
|
(468)
|
3,241
|
| Net increase in cash and cash equivalents |
27,205
|
5,545
|
1,102
|
| Cash and cash equivalents, beginning of year |
7,435
|
1,890
|
788
|
| Cash and cash equivalents, end of year |
34,640
|
7,435
|
1,890
|
| Classification of cash and cash equivalents: |
|
|
|
| Cash and cash equivalents, end of year |
7,435
|
1,890
|
788
|
| Supplemental information: |
|
|
|
| Cash paid in year for interest |
84
|
305
|
482
|
| Cash paid in year for income taxes |
200
|
0
|
0
|
| Non-cash investing and financing activities: |
|
|
|
| Fully depreciated assets disposed of |
106
|
1,238
|
2,623
|
| Non-cash charge to write-off of remaining unamortized discount on convertible debt |
0
|
2,287
|
204
|
| Conversion of subordinated convertible debt |
$ 0
|
$ 6,145
|
$ 1,500
|