XML 17 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities:    
Net income (loss) $ (11,079) $ (17,562)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 5,523 8,845
Amortization of debt discount and issuance costs 1,658 0
Inventory valuation allowance and adverse purch commitment charges (374) 859
Deferred income taxes 105 300
Stock-based compensation expense 707 1,692
Change in fair value of Warrant liability 503 0
Other 188 (129)
Changes in operating assets and liabilities    
Accounts receivable 2,511 (5,207)
Other receivables 1,759 (83)
Increase (Decrease) in Inventory and Deferred Cost of Sales 1,846 (4,803)
Accounts payable (10,445) 3,155
Accrued restructuring (2,430) (195)
Accrued wages and other 341 (2,315)
Increase (Decrease) in Deferred Revenue 1,572 1,910
Other Accrued Liabilities 2,339 (255)
Net cash provided by operating activities (8,968) (4,182)
Cash flows from investing activities:    
Capital expenditures (401) (3,158)
Net cash used in investing activities (401) (3,158)
Cash flows from financing activities:    
Proceeds from (Repayments of) Lines of Credit 64,668 78,000
Repayments of Lines of Credit (68,492) (58,000)
Proceeds from Notes Payable 17,000 0
Payments of debt issuance costs (2,370) 0
Net settlement of restricted shares (23) 0
Other financing activities 133 86
Net cash provided by (used in) financing activities 10,916 20,086
Effect of exchange rate changes on cash (72) 415
Net increase (decrease) in cash and cash equivalents 1,475 13,161
Cash and cash equivalents, beginning of period 8,124  
Restricted cash and cash equivalents, beginning of period 0 0
Cash, cash equivalents, and restricted cash, beginning of period   33,087
Cash, cash equivalents, and restricted cash, end of period 9,599 46,248
Restricted cash and cash equivalents, end of period 4,000 0
Cash and cash equivalents, end of period 5,599 46,248
Supplemental disclosure of cash flow information:    
Interest 305 467
Income taxes $ 622 $ 533