Quarterly report pursuant to Section 13 or 15(d)

Preferred Stock (Details)

v3.10.0.1
Preferred Stock (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Jul. 03, 2018
Dec. 01, 2017
Nov. 10, 2017
Oct. 12, 2017
Jul. 25, 2017
Jul. 17, 2018
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Jul. 31, 2018
Dec. 31, 2017
Jul. 20, 2017
Preferred Stock (Textual)                          
Converted outstanding, shares                 33,339        
Loss on extinguishment of debt, net             $ (349) $ (4,414) $ (2,255) $ (5,468)      
Designation of Series J preferred stock [Member]                          
Preferred Stock (Textual)                          
Preferred stock, shares authorized                         1,000
Preferred stock stated value                         $ 4,916
Liquidation preference amount in per share                         4,916
Preferred stock par value                         $ 0.0001
Percentage of total voting power                         51.00%
Fair value of stock issuance         $ 1,753                
Designation of Series K preferred stock [Member]                          
Preferred Stock (Textual)                          
Preferred stock, shares authorized     3,000                    
Preferred stock stated value     $ 0.0001                    
Liquidation preference amount in per share     10,000                    
Preferred stock par value     $ 10,000                    
Preferred stock, shares issued     1,512       1,512   1,512     1,512  
Percentage of lower price     95.00%                    
Weighted average trading price     $ 3.00                    
Preferred stock, shares outstanding             1,512   1,512     1,512  
Aggregate principal amount     $ 15,128                    
Loss on extinguishment of debt, net     $ 1,363                    
Designation of Series L preferred stock [Member]                          
Preferred Stock (Textual)                          
Preferred stock, shares authorized       1,000                  
Preferred stock stated value       $ 0.0001                  
Liquidation preference amount in per share       10,000                  
Preferred stock par value       $ 10,000                  
Preferred stock, shares issued       227     227   227     227  
Exchange held in promissory notes       $ 5,430                  
Percentage of lower price       105.00%                  
Preferred stock, shares outstanding             182   182     227  
Preferred stock conversion, description           The Company amended its Certificate of Designation for its Series L preferred stock. Per the amended Certificate of Designation, the conversion price was changed to the greater of $0.01 or a 35% discount to the lowest VWAP for the 5 trading days immediately preceding the conversion date. Additionally, 20% of the issued and outstanding shares were cancelled per the amendment. The Company treated the amendment as a debt extinguishment (refer to Note 9, Derivative Instruments, for detail on the extinguishment accounting related to the amendment).              
Loss on extinguishment of debt, net       $ 5,444                  
Designation of Series M preferred stock [Member]                          
Preferred Stock (Textual)                          
Preferred stock, shares authorized   500                      
Preferred stock stated value   $ 0.0001                      
Number of warrants issued to purchase common stock   382,300                      
Preferred stock par value   $ 10,000                      
Preferred stock, shares issued   386         309   309     386  
Preferred stock, shares outstanding             309   309     386  
Preferred stock conversion, description The Company amended its Certificate of Designation for its Series M preferred stock. Per the amended Certificate of Designation, the conversion price was changed to the greater of $0.01 or 105% of the average closing VWAP price for the 5 days immediately preceding the conversion date. In accordance with ASC Topic 470-50, the Company treated the amendment as a debt extinguishment (refer to Note 9, Derivative Instruments, for detail on the extinguishment accounting related to the amendment).                        
Stock assigned to third party                     10    
Loss on extinguishment of debt, net   $ 2,281                      
Conversions Of Series M Preferred Stock [Member]                          
Preferred Stock (Textual)                          
Converted outstanding, shares                 46        
Mark Munro [Member] | Designation of Series J preferred stock [Member]                          
Preferred Stock (Textual)                          
Preferred stock, shares issued         387                
Aggregate principal amount         $ 1,709                
Related party, converted interest         $ 195                
Mark Durfee [Member] | Designation of Series J preferred stock [Member]                          
Preferred Stock (Textual)                          
Preferred stock, shares issued         613                
Aggregate principal amount         $ 2,550                
Related party, converted interest         $ 464