Annual report pursuant to Section 13 and 15(d)

Description of Business and Liquidity (Details Narrative)

Description of Business and Liquidity (Details Narrative) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
Nov. 27, 2019
Oct. 03, 2019
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Cash, cash equivalents     $ 16,395 $ 10,159 $ 5,097 $ 4,972
Working capital     $ 29,280      
Common Stock, Preferred Stock, Warrants, Debt Securities, and Units, or Any Combination [Member]            
Sale of stock, description of transaction The Company has on file a shelf registration statement on Form S-3 that was declared effective by the Securities and Exchange Commission (the "SEC") on November 27, 2019. Pursuant to the shelf registration statement, the Company may offer to the public from time to time, in one or more offerings, up to $60,000 of its common stock, preferred stock, warrants, debt securities, and units, or any combination of the foregoing, at prices and on terms to be determined at the time of any such offering.          
Revolving Credit Facility [Member]            
Debt instrument, face amount   $ 10,000        
Line of credit facility, expiration period   5 years        
Convertible Unsecured Promissory Note [Member]            
Debt instrument, face amount   $ 5,000        
Debt instrument, interest rate   10.00%        
Two Senior Secured Term Loan [Member]            
Debt instrument, face amount   $ 30,000        
Facilities One [Member]            
Debt instrument, face amount   20,000        
Facilities Two [Member]            
Debt instrument, face amount   $ 10,000        
Series A Convertible Preferred Stock [Member]            
Sale of stock   50        
Sale of stock price per share   $ 0.01        
Aggregate purchase price   $ 50,000