XML 37 R7.htm IDEA: XBRL DOCUMENT v3.6.0.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Cash flows from operating activities:      
Net (loss) income $ (16,887) $ 8,780 $ (5,845)
Loss from discontinued operations (12) (691) (1,599)
(Loss) income from continuing operations (16,875) 9,471 (4,246)
Adjustments to reconcile net (loss) income to net cash used in operating activities:      
Loss on impairment 857 0 0
Depreciation 805 266 184
Stock-based compensation 1,360 813 532
Provision for doubtful accounts receivable 156 39 2
Provision for slow-moving and obsolete inventories 3,990 1,464 194
Provision for warranties 170 255 49
Amortization of discounts on long-term borrowings and acquisition related liabilities 0 0 2,815
Amortization of loan origination fees 0 40 140
Loss (gain) on dispositions of property and equipment 38 3 2
Change in operating assets and liabilities:      
Accounts receivable 4,313 (7,493) (1,466)
Inventories (5,727) (2,327) (4,956)
Prepaid and other assets (123) 146 1,641
Accounts payable (4,035) 135 5,328
Accrued and other liabilities (1,389) 1,674 (444)
Deferred revenue (93) (40) 62
Total adjustments 322 (5,025) 4,083
Net cash (used in) provided by operating activities (16,553) 4,446 (163)
Cash flows from investing activities:      
Acquisitions of property and equipment (1,624) (2,242) (194)
Proceeds from the sale of property and equipment 27 0 130
Net cash used in investing activities (1,597) (2,242) (64)
Cash flows from financing activities:      
Proceeds from warrants exercised 0 2,503 0
Proceeds from issuances of common stock, net 0 23,574 5,952
Proceeds from exercise of stock options and purchases through employee stock purchase plan 455 346 58
Repurchases of common stock (309) 0 0
Payments on other borrowings 0 (13) (223)
Net (repayments) proceeds from credit line borrowings 0 (453) 453
Net cash provided by financing activities 146 25,957 6,240
Effect of exchange rate changes on cash and cash equivalents 5 0 0
Net cash (used in) provided by continuing operations (17,999) 28,161 6,013
Cash flows of discontinued operations:      
Operating cash flows, net (12) (691) (604)
Investing cash flows, net 0 181 0
Financing cash flows, net 0 (446) 136
Net cash used in discontinued operations (12) (956) (468)
Net (decrease) increase in cash and cash equivalents (18,011) 27,205 5,545
Cash and cash equivalents, beginning of year 34,640 7,435 1,890
Cash and cash equivalents, end of year 16,629 34,640 7,435
Classification of cash and cash equivalents:      
Cash and cash equivalents, end of year 34,640 7,435 1,890
Supplemental information:      
Cash paid in year for interest 5 84 305
Cash paid in year for income taxes 51 200 0
Non-cash investing and financing activities:      
Non-cash charge to write-off of remaining unamortized discount on convertible debt 0 0 2,287
Conversion of subordinated convertible debt $ 0 $ 0 $ 6,145