Quarterly report pursuant to Section 13 or 15(d)

Preferred Stock and Stockholders' Equity (Details Textual)

v3.19.1
Preferred Stock and Stockholders' Equity (Details Textual)
1 Months Ended 3 Months Ended 12 Months Ended
Sep. 01, 2019
shares
Jan. 04, 2019
shares
Jul. 25, 2018
shares
Jun. 30, 2018
$ / shares
shares
Apr. 30, 2018
$ / shares
shares
Feb. 28, 2018
shares
Jan. 31, 2018
shares
Mar. 31, 2019
USD ($)
$ / shares
shares
Jun. 30, 2018
$ / shares
shares
Mar. 31, 2018
USD ($)
$ / shares
shares
Dec. 31, 2018
USD ($)
$ / shares
shares
May 31, 2019
Apr. 18, 2019
shares
Jul. 26, 2018
shares
Jun. 29, 2018
$ / shares
Jun. 15, 2018
shares
Apr. 06, 2018
$ / shares
Dec. 31, 2017
shares
Jan. 31, 2017
$ / shares
Jul. 23, 2010
shares
Class of Stock [Line Items]                                        
Class of Warrant or Right, Number of Securities Called by Warrants or Rights                               208,350        
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares                                     $ 5.40  
Fair Value Adjustment of Warrants | $               $ (111,000)   $ (109,000)                    
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights                     In the event an employee voluntarily resigns, the release dates of the shares will be extended such that only 16.5% of the shares are released every nine months, until 100% are released. In the event that a director voluntarily resigns, each of the release dates will be extended nine months                  
Debt Conversion, Converted Instrument, Shares Issued     99,594                                  
Stock Issued During Period, Value, Restricted Stock Award, Gross | $               (65,000)                        
Payments Related to Tax Withholding for Share-based Compensation | $               $ 65,000   $ 0                    
Preferred Stock, Shares Issued                           2,762,594       2,762,594   41,438,818
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant               492,808                        
Deferred Compensation Arrangement with Individual, Shares Issued   400,000                                    
Subsequent Event [Member]                                        
Class of Stock [Line Items]                                        
Class of Warrant or Right, Number of Securities Called by Warrants or Rights                         255,102              
Subsequent Event [Member] | Share-based Compensation Award, Tranche One [Member]                                        
Class of Stock [Line Items]                                        
Stock Issued During Period, Shares, Restricted Stock Award, Gross 464,632                                      
Investment Bankers [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input | Pure                   57                    
Series C Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Debt Conversion, Converted Instrument, Shares Issued           327                            
Other Convertible Notes [Member]                                        
Class of Stock [Line Items]                                        
Class of Warrant or Right, Number of Securities Called by Warrants or Rights                   44,408                    
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares                   $ 5.40                    
Warrant [Member]                                        
Class of Stock [Line Items]                                        
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares                     $ 5.40                  
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range, Number of Exercisable Options               8,476,813                        
Warrant [Member] | Series F Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Class of Warrant or Right, Number of Securities Called by Warrants or Rights                   149,447                    
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares                   $ 5.40                    
Warrant Term                   5 years                    
Fair Value Adjustment of Warrants | $                   $ 45,000                    
Warrant [Member] | Series F Convertible Note [Member] | Investment Bankers [Member]                                        
Class of Stock [Line Items]                                        
Class of Warrant or Right, Number of Securities Called by Warrants or Rights                   29,889                    
Warrant Term                 5 years                      
Fair Value Adjustment of Warrants | $                   $ 9,000                    
Warrant [Member] | Series D Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Class of Warrant or Right, Number of Securities Called by Warrants or Rights       1,017,717         1,017,717                      
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares       $ 5.40         $ 5.40                      
Warrant Term       4 years                                
Fair Value Adjustment of Warrants | $                     $ 210,000                  
Warrant [Member] | Other Convertible Notes [Member]                                        
Class of Stock [Line Items]                                        
Warrant Term                   5 years                    
Fair Value Adjustment of Warrants | $                   $ 13,000                    
Warrant [Member] | Measurement Input, Expected Dividend Rate [Member] | Series F Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input | Pure                             0          
Warrant [Member] | Measurement Input, Expected Dividend Rate [Member] | Series F Convertible Note [Member] | Investment Bankers [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input | Pure                     0                  
Warrant [Member] | Measurement Input, Expected Dividend Rate [Member] | Series D Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input | Pure                             0          
Warrant [Member] | Measurement Input, Expected Dividend Rate [Member] | Other Convertible Notes [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input | Pure                   0                    
Warrant [Member] | Measurement Input, Price Volatility [Member] | Series F Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input | Pure                   57                    
Warrant [Member] | Measurement Input, Price Volatility [Member] | Series D Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input | Pure                             56          
Warrant [Member] | Measurement Input, Price Volatility [Member] | Other Convertible Notes [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input | Pure                   57                    
Warrant [Member] | Measurement Input, Risk Free Interest Rate [Member] | Series F Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input | Pure                   2.56                    
Warrant [Member] | Measurement Input, Risk Free Interest Rate [Member] | Series F Convertible Note [Member] | Investment Bankers [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input | Pure                   2.56                    
Warrant [Member] | Measurement Input, Risk Free Interest Rate [Member] | Series D Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input | Pure                       2.54                
Warrant [Member] | Measurement Input, Risk Free Interest Rate [Member] | Series D Convertible Note [Member] | Investment Bankers [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input | Pure                   2.65                    
Restricted Stock [Member]                                        
Class of Stock [Line Items]                                        
Allocated Share-based Compensation Expense | $                   $ 2,156,000                    
Share-based Compensation Award, Tranche One [Member]                                        
Class of Stock [Line Items]                                        
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares                                 $ 5.40      
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage             33.40%                          
Share-based Compensation Award, Tranche Two [Member]                                        
Class of Stock [Line Items]                                        
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage             33.30%                          
Share-based Compensation Award, Tranche Two [Member] | Subsequent Event [Member]                                        
Class of Stock [Line Items]                                        
Stock Issued During Period, Shares, Restricted Stock Award, Gross 28,176                                      
Share-based Compensation Award, Tranche Three [Member]                                        
Class of Stock [Line Items]                                        
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage             33.30%                          
Employees [Member]                                        
Class of Stock [Line Items]                                        
Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures             1,284,470                          
Director [Member]                                        
Class of Stock [Line Items]                                        
Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures             153,126                          
Mr Michael Howse [Member] | Warrant [Member]                                        
Class of Stock [Line Items]                                        
Class of Warrant or Right, Number of Securities Called by Warrants or Rights         275,000                              
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares         $ 5.40                              
Fair Value Adjustment of Warrants | $               $ 4,000                        
Share Price | $ / shares               $ 1.99                        
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period         110,000                              
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number               110,000                        
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range, Number of Exercisable Options               165,000                        
Mr Michael Howse [Member] | Warrant [Member] | Measurement Input, Expected Dividend Rate [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input | Pure               0                        
Mr Michael Howse [Member] | Warrant [Member] | Measurement Input, Price Volatility [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input | Pure               59                        
Mr Michael Howse [Member] | Warrant [Member] | Measurement Input, Risk Free Interest Rate [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input | Pure               2.22                        
Mr Michael Howse [Member] | Warrant [Member] | Measurement Input, Expected Term [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Term               4 years 7 days                        
LongTerm Stock Incentive Plan [Member]                                        
Class of Stock [Line Items]                                        
Share-based Compensation Arrangement by Share-based Payment Award Maximum Percentage of Shares Authorized                     15.00%                  
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized                     300,000                  
Stock Issued During Period, Shares, Restricted Stock Award, Gross               471,697                        
Stock Issued During Period, Value, Restricted Stock Award, Gross | $               $ 1,000,000                        
Stock Issued During Period, Value, Restricted Stock Award, Forfeitures | $               $ 323,162                        
Restricted Stock Shares Withheld               24,687                        
Payments Related to Tax Withholding for Share-based Compensation | $               $ 65,000                        
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant               2,304,909                        
Common Stock [Member]                                        
Class of Stock [Line Items]                                        
Stock Issued During Period, Shares, Restricted Stock Award, Gross               123,848                        
Stock Issued During Period, Value, Restricted Stock Award, Gross | $               $ 0                        
Common Stock [Member] | Series F Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Share Price | $ / shares                   $ 1.50                    
Common Stock [Member] | Series F Convertible Note [Member] | Investment Bankers [Member]                                        
Class of Stock [Line Items]                                        
Share Price | $ / shares                   1.50                    
Common Stock [Member] | Warrant [Member] | Series D Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Share Price | $ / shares                             $ 1.50          
Common Stock [Member] | Warrant [Member] | Other Convertible Notes [Member]                                        
Class of Stock [Line Items]                                        
Share Price | $ / shares                   $ 1.50