Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2016
Jun. 30, 2015
Cash flows from operating activities    
Net loss $ (2,917) $ (9,623)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 1,609 2,159
Gain on change in warrant liability (48) (1,057)
Stock-based compensation 610 791
Non-cash loan origination fees 34 743
Non-cash consulting expense   240
Non-cash directors’ fees 31 31
Bad debt expense   464
Deferred tax expense   10
Changes in operating assets and liabilities:    
Accounts receivable 1,910 6,027
Inventory 57 155
Other current assets 202 173
Other assets 10 (218)
Accounts payable (793) (2,262)
Accrued liabilities (1,006) (1,155)
Deferred revenue 223 (11)
Loss on long-term contract (350) (1,732)
Deferred rent and other liabilities (182) (350)
Net cash used in operating activities (610) (5,615)
Cash flows from investing activities    
Purchases of property and equipment (140) (298)
Net cash used in investing activities (140) (298)
Cash flows from financing activities    
Borrowings on line of credit, net 700  
Proceeds from long-term debt   1,000
Conversion of preferred stock to common stock   (41)
Issuance of preferred stock, net of issuance costs   9,627
Net cash provided by financing activities 700 10,586
Effect of exchange rate changes on cash (284) 84
Net increase (decrease) in cash and cash equivalents (334) 4,757
Cash and cash equivalents, beginning of period 3,206 3,077
Cash and cash equivalents, end of period 2,872 7,834
Supplemental disclosures of cash flow information:    
Cash paid during the period for interest 105 647
Cash paid during the period for income taxes $ 77 18
Non-cash Supplemental information:    
Long-term notes payable paid thru issuance of preferred shares   $ 15,000