CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Cash flows from operating activities    
Net loss $ (5,387) $ (4,955)
Adjustments to reconcile net loss to net cash used in operating activities:    
Stock-based compensation 848 943
Amortization of deferred debt issuance costs and debt discount 4 740
Amortization of trademark 98 98
Gain on settlement of customer refund (68) 0
Gain on conversion of debt to common stock 0 (557)
Provision for doubtful accounts 20 153
Changes in operating assets and liabilities:    
Accounts receivable 709 (437)
Inventories 607 (1,156)
Prepaid expenses and other 362 (299)
Accounts payable 356 (633)
Accrued expenses (212) (124)
Customer refund (504) (10)
Due to related parties (10) 0
Net cash used in operating activities (3,177) (6,237)
Cash flows from financing activities    
Proceeds from issuance of preferred stock, net 0 2,393
Issuance of common stock, net of issuance cost 419 0
Proceeds from issuance of convertible notes 1,346 0
Debt discount (74) 0
Short term loan - related party 100 0
Proceeds from the issuance of IPO common stock and warrants 0 8,151
IPO costs 0 (689)
Payments of bridge financing 0 (462)
Proceeds from issuance of bridge financing 0 406
Payments on trademark note payable 0 (450)
Proceeds from credit facility 107 581
Payments on credit facility 0 (785)
Deferred financing costs 0 (57)
Net cash provided by financing activities 1,898 9,088
Net (decrease) increase in cash (1,279) 2,851
Cash, beginning of the period 1,453 119
Cash, end of the period 174 2,970
Cash paid during the period for:    
Interest 1 55
Non-cash investing and financing activities:    
Conversion of related party debt into equity 100 0
Warrants issued in connection with notes payable 44 0
Exchange of debt for equity upon IPO 0 3,520
Reclassification of deferred IPO costs $ 0 $ 619