Quarterly report pursuant to Section 13 or 15(d)

Preferred Stock and Stockholders' Equity - Additional Information (Details)

v3.19.2
Preferred Stock and Stockholders' Equity - Additional Information (Details)
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Sep. 01, 2019
shares
Apr. 18, 2019
USD ($)
$ / shares
shares
Jan. 04, 2019
shares
May 31, 2019
USD ($)
$ / shares
shares
Apr. 30, 2019
USD ($)
$ / shares
shares
Jul. 25, 2018
shares
Apr. 30, 2018
$ / shares
shares
Feb. 28, 2018
shares
Jan. 31, 2018
shares
Jun. 30, 2019
USD ($)
$ / shares
shares
Mar. 31, 2019
USD ($)
shares
Jun. 30, 2018
USD ($)
$ / shares
shares
Jun. 30, 2019
USD ($)
$ / shares
shares
Jun. 30, 2018
USD ($)
$ / shares
shares
Dec. 31, 2018
$ / shares
shares
Jul. 26, 2018
shares
Jun. 15, 2018
shares
Dec. 31, 2017
shares
Jan. 31, 2017
$ / shares
Jul. 23, 2010
shares
Class of Stock [Line Items]                                        
Preferred Stock, Shares Issued                               2,762,594   2,762,594   41,438,818
Temporary Equity, Shares Issued                   250,000     250,000   0          
Temporary Equity, Dividend Rate, Percentage                         8.00%   8.00%          
Class of Warrant or Right, Number of Securities Called by Warrants or Rights   255,102                             208,350      
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares                                     $ 5.40  
Fair Value Adjustment of Warrants | $                   $ (64,000)   $ 4,358,000 $ (175,000) $ 4,249,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            
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant                   492,808     492,808              
Deferred Compensation Arrangement with Individual, Shares Issued     400,000                                  
Share-based Compensation Award, Tranche One [Member]                                        
Class of Stock [Line Items]                                        
Stock Issued During Period, Shares, Restricted Stock Award, Gross 464,632                                      
Series C Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Debt Conversion, Converted Instrument, Shares Issued               327                        
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,731,915     8,731,915              
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                   25,000     25,000              
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares                       $ 5.40   $ 5.40            
Warrant Term                       5 years                
Fair Value Adjustment of Warrants | $                       $ 44,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                       3,222   3,222            
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares                       $ 5.40   $ 5.40            
Warrant Term                       5 years                
Fair Value Adjustment of Warrants | $                       $ 5,700                
Warrant [Member] | Series G Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Class of Warrant or Right, Number of Securities Called by Warrants or Rights                       208,350   208,350            
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares                       $ 5.40   $ 5.40            
Warrant Term                       5 years                
Fair Value Adjustment of Warrants | $                       $ 366,000                
Warrant [Member] | Series G Convertible Note [Member] | Investment Bankers [Member]                                        
Class of Stock [Line Items]                                        
Class of Warrant or Right, Number of Securities Called by Warrants or Rights                       58,334   58,334            
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares                       $ 5.40   $ 5.40            
Warrant Term                       5 years                
Fair Value Adjustment of Warrants | $                       $ 102,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                       0   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                       0   0            
Warrant [Member] | Measurement Input, Expected Dividend Rate [Member] | Series G Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input                       0   0            
Warrant [Member] | Measurement Input, Expected Dividend Rate [Member] | Series G Convertible Note [Member] | Investment Bankers [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input                       0   0            
Warrant [Member] | Measurement Input, Price Volatility [Member] | Series F Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input                       57   57            
Warrant [Member] | Measurement Input, Price Volatility [Member] | Series G Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input                       57   57            
Warrant [Member] | Measurement Input, Price Volatility [Member] | Series G Convertible Note [Member] | Investment Bankers [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input                       57   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                       2.82   2.82            
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                       2.82   2.82            
Warrant [Member] | Measurement Input, Risk Free Interest Rate [Member] | Series G Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input                       2.81   2.81            
Warrant [Member] | Measurement Input, Risk Free Interest Rate [Member] | Series G Convertible Note [Member] | Investment Bankers [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input                       2.82   2.82            
Warrant [Member] | Measurement Input, Expected Term [Member] | Series G Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Warrant Term                       5 years                
Warrant [Member] | Measurement Input, Expected Term [Member] | Series G Convertible Note [Member] | Investment Bankers [Member]                                        
Class of Stock [Line Items]                                        
Warrant Term                       5 years                
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]                                        
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%            
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 | $                   $ 0     $ 4,000              
Share Price | $ / shares                   $ 1.66     $ 1.66              
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     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                   0     0              
Mr Michael Howse [Member] | Warrant [Member] | Measurement Input, Price Volatility [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input                   59     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                   1.74     1.74              
Mr Michael Howse [Member] | Warrant [Member] | Measurement Input, Expected Term [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Term                   3 years 9 months 7 days     3 years 9 months 7 days              
Walsh [Member] | Warrant [Member]                                        
Class of Stock [Line Items]                                        
Class of Warrant or Right, Number of Securities Called by Warrants or Rights         225,102                              
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares         $ 1.98                              
Fair Value Adjustment of Warrants | $         $ 216,000                              
Share Price | $ / shares         $ 2.08                              
Walsh [Member] | Warrant [Member] | Measurement Input, Expected Dividend Rate [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input         0                              
Walsh [Member] | Warrant [Member] | Measurement Input, Price Volatility [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input         59                              
Walsh [Member] | Warrant [Member] | Measurement Input, Risk Free Interest Rate [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input         2.38                              
Walsh [Member] | Warrant [Member] | Measurement Input, Expected Term [Member]                                        
Class of Stock [Line Items]                                        
Warrant Term         5 years                              
Alexander Capital [Member] | Warrant [Member]                                        
Class of Stock [Line Items]                                        
Class of Warrant or Right, Number of Securities Called by Warrants or Rights       122,272 40,816                              
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares       $ 1.66 $ 2.18                              
Fair Value Adjustment of Warrants | $       $ 70,000 $ 43,000                              
Share Price | $ / shares       $ 1.36 $ 2.08                              
Alexander Capital [Member] | Warrant [Member] | Measurement Input, Expected Dividend Rate [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input       0 0                              
Alexander Capital [Member] | Warrant [Member] | Measurement Input, Price Volatility [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input       60 59                              
Alexander Capital [Member] | Warrant [Member] | Measurement Input, Risk Free Interest Rate [Member]                                        
Class of Stock [Line Items]                                        
Warrants and Rights Outstanding, Measurement Input       2.18 2.38                              
Alexander Capital [Member] | Warrant [Member] | Measurement Input, Expected Term [Member]                                        
Class of Stock [Line Items]                                        
Warrant Term       4 years 5 years                              
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     2,304,909              
Common Shares [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                  
Stock Issued During Period, Shares, Issued for Services                   161,530                    
Common Shares [Member] | Warrant [Member] | Series F Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Share Price | $ / shares                       $ 4.03   $ 4.03            
Common Shares [Member] | Warrant [Member] | Series F Convertible Note [Member] | Investment Bankers [Member]                                        
Class of Stock [Line Items]                                        
Share Price | $ / shares                       4.03   4.03            
Common Shares [Member] | Warrant [Member] | Series G Convertible Note [Member]                                        
Class of Stock [Line Items]                                        
Share Price | $ / shares                       4.03   4.03            
Common Shares [Member] | Warrant [Member] | Series G Convertible Note [Member] | Investment Bankers [Member]                                        
Class of Stock [Line Items]                                        
Share Price | $ / shares                       $ 4.03   $ 4.03            
Series A Preferred Stock [Member]                                        
Class of Stock [Line Items]                                        
Temporary Equity, Shares Issued   250,000                                    
Temporary Equity, Par Value Per Share | $ / shares   $ 0.0001                                    
Temporary Equity, Stated Value Per Share | $ / shares   $ 4.00                                    
Temporary Equity, Dividend Rate, Percentage   8.00%                                    
Convertible Preferred Stock Conversion Price | $ / shares   $ 4.00               $ 4.00     $ 4.00              
Convertible Preferred Stock Floor Price Per Share | $ / shares   $ 1.50                                    
Convertible Preferred Stock, Convertible, Issue of Shares, Threshold Percentage   19.99                                    
Proceeds from Issuance of Convertible Preferred Stock | $   $ 1,000,000               $ 920,000                    
Embedded Derivative, Fair Value of Embedded Derivative Liability | $   $ 216,000                                    
Preferred Stock, Convertible, Threshold Trading Days   5 days                                    
Cumulative Dividends | $                   16,000     $ 16,000              
Preferred stock, Redemption Value Percentage   120.00%                                    
Series A Preferred Stock [Member] | Warrant [Member]                                        
Class of Stock [Line Items]                                        
Fair value of warrant | $                   $ 200,000     $ 200,000              
Series A Preferred Stock [Member] | Minimum [Member]                                        
Class of Stock [Line Items]                                        
Convertible Preferred Stock Conversion Price | $ / shares   $ 1.50                                    
Proceeds from Issuance of Convertible Preferred Stock | $   $ 500,000                                    
Preferred stock, Redemption Basis, Amount Sought or Declared | $   100,000                                    
Preferred stock, Redemption Basis, Gain or Loss on Property | $   100,000                                    
Series A Preferred Stock [Member] | Maximum [Member]                                        
Class of Stock [Line Items]                                        
Proceeds from Issuance of Convertible Preferred Stock | $   $ 5,000,000