Annual report pursuant to Section 13 and 15(d)

Unaudited Quarterly Data - Schedule of Quarterly Data on Financial Information (Details) (Parenthetical)

v3.20.1
Unaudited Quarterly Data - Schedule of Quarterly Data on Financial Information (Details) (Parenthetical) - $ / shares
Dec. 31, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Dec. 31, 2017
Nov. 06, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2016
Preferred stock, par or stated value per share $ 0.01 $ 0.01 $ 0.01 $ 0.01 $ 0.01   $ 0.01 $ 0.01 $ 0.01  
Preferred stock, shares authorized 5,000,000 5,000,000 5,000,000 5,000,000 5,000,000   5,000,000 5,000,000 5,000,000  
Preferred stock, shares outstanding 795       2,575         795
Common stock, par or stated value per share $ 0.001 $ 0.001 $ 0.001 $ 0.001 $ 0.001   $ 0.001 $ 0.001 $ 0.001  
Common stock, shares authorized 100,000,000 100,000,000 100,000,000 100,000,000 100,000,000 200,000,000 100,000,000 100,000,000 100,000,000  
Common stock, shares issued 12,286,847 8,605,021 7,225,158 6,136,059 5,620,281   5,435,083 5,208,185 3,536,096  
Common stock, shares outstanding 12,286,847 8,605,021 7,225,158 6,136,059 5,620,281   5,435,083 5,208,185 3,536,096  
Temporary equity, par or stated value per share                 $ 0.001  
Temporary equity, shares authorized                 100,000,000  
Temporary equity, shares issued                 444,275  
Temporary equity, shares outstanding                 444,275  
Series A Convertible Preferred Stock [Member]                    
Preferred stock, par or stated value per share $ 1,000 $ 1,000 $ 1,000 $ 1,000 $ 1,000   $ 1,000 $ 1,000 $ 1,000  
Preferred stock, shares authorized 4,500                  
Preferred stock, shares designated 4,500 4,500 4,500 4,500 4,500   4,500 4,500 4,500  
Preferred stock, shares issued 500 500 500 500 500   500 500 500  
Preferred stock, shares outstanding 500 500 500 500 500   500 500 500  
Series A-1 Convertible Preferred Shares [Member]                    
Preferred stock, par or stated value per share $ 1,000 $ 1,000 $ 1,000 $ 1,000 $ 1,000   $ 1,000 $ 1,000 $ 1,000  
Preferred stock, shares designated 1,000 1,000 1,000 1,000 1,000   1,000 1,000 1,000  
Preferred stock, shares issued 295 295 295 295 295   295 295 295  
Preferred stock, shares outstanding 295 295 295 295 295   295 295 295  
Series G Convertible Preferred Shares [Member]                    
Preferred stock, par or stated value per share $ 0.001   $ 0.001 $ 0.001 $ 0.001          
Preferred stock, shares designated 1,780   1,780 1,780 1,780          
Preferred stock, shares issued 0   1,780 1,780 1,780          
Preferred stock, shares outstanding 0   1,780 1,780 1,780          
Previously Reported [Member]                    
Preferred stock, par or stated value per share   $ 0.01 $ 0.01 $ 0.01 $ 0.01   $ 0.01 $ 0.01 $ 0.01  
Preferred stock, shares authorized   5,000,000 5,000,000 5,000,000 5,000,000   5,000,000 5,000,000 5,000,000  
Common stock, par or stated value per share   $ 0.001 $ 0.001 $ 0.001 $ 0.001   $ 0.001 $ 0.001 $ 0.001  
Common stock, shares authorized   100,000,000 100,000,000 100,000,000 100,000,000   100,000,000 100,000,000 100,000,000  
Common stock, shares issued   8,605,021 7,225,158 6,136,059 5,620,281   5,435,083 5,208,185 3,536,096  
Common stock, shares outstanding   8,605,021 7,225,158 6,136,059 5,620,281   5,435,083 5,208,185 3,536,096  
Temporary equity, par or stated value per share                 $ 0.001  
Temporary equity, shares authorized                 100,000,000  
Temporary equity, shares issued                 444,275  
Temporary equity, shares outstanding                 444,275  
Previously Reported [Member] | Series A Convertible Preferred Stock [Member]                    
Preferred stock, par or stated value per share   $ 1,000 $ 1,000 $ 1,000 $ 1,000   $ 1,000 $ 1,000 $ 1,000  
Preferred stock, shares designated   4,500 4,500 4,500 4,500   4,500 4,500 4,500  
Preferred stock, shares issued   500 500 500 500   500 500 500  
Preferred stock, shares outstanding   500 500 500 500   500 500 500  
Previously Reported [Member] | Series A-1 Convertible Preferred Shares [Member]                    
Preferred stock, par or stated value per share   $ 1,000 $ 1,000 $ 1,000     $ 1,000 $ 1,000 $ 1,000  
Preferred stock, shares designated   1,000 1,000 1,000     1,000 1,000 1,000  
Preferred stock, shares issued   295 295 295     295 295 295  
Preferred stock, shares outstanding   295 295 295     295 295 295  
Previously Reported [Member] | Series G Convertible Preferred Shares [Member]                    
Preferred stock, par or stated value per share     $ 0.001 $ 0.001            
Preferred stock, shares designated     1,780 1,780            
Preferred stock, shares issued     1,780 1,780            
Preferred stock, shares outstanding     1,780 1,780            
Adjustments [Member]                    
Preferred stock, par or stated value per share   $ 0.01 $ 0.01 $ 0.01 $ 0.01   $ 0.01 $ 0.01 $ 0.01  
Preferred stock, shares authorized   5,000,000 5,000,000 5,000,000 5,000,000   5,000,000 5,000,000 5,000,000  
Common stock, par or stated value per share   $ 0.001 $ 0.001 $ 0.001 $ 0.001   $ 0.001 $ 0.001 $ 0.001  
Common stock, shares authorized   100,000,000 100,000,000 100,000,000 100,000,000   100,000,000 100,000,000 100,000,000  
Common stock, shares issued   8,605,021 7,225,158 6,136,059 5,620,281   5,435,083 5,208,185 3,536,096  
Common stock, shares outstanding   8,605,021 7,225,158 6,136,059 5,620,281   5,435,083 5,208,185 3,536,096  
Temporary equity, par or stated value per share                 $ 0.001  
Temporary equity, shares authorized                 100,000,000  
Temporary equity, shares issued                 444,275  
Temporary equity, shares outstanding                 444,275  
Adjustments [Member] | Series A Convertible Preferred Stock [Member]                    
Preferred stock, par or stated value per share   $ 1,000 $ 1,000 $ 1,000 $ 1,000   $ 1,000 $ 1,000 $ 1,000  
Preferred stock, shares designated   4,500 4,500 4,500 4,500   4,500 4,500 4,500  
Preferred stock, shares issued   500 500 500 500   500 500 500  
Preferred stock, shares outstanding   500 500 500 500   500 500 500  
Adjustments [Member] | Series A-1 Convertible Preferred Shares [Member]                    
Preferred stock, par or stated value per share   $ 1,000 $ 1,000 $ 1,000     $ 1,000 $ 1,000 $ 1,000  
Preferred stock, shares designated   1,000 1,000 1,000     1,000 1,000 1,000  
Preferred stock, shares issued   295 295 295     295 295 295  
Preferred stock, shares outstanding   295 295 295     295 295 295  
Adjustments [Member] | Series G Convertible Preferred Shares [Member]                    
Preferred stock, par or stated value per share     $ 0.001 $ 0.001            
Preferred stock, shares designated     1,780 1,780            
Preferred stock, shares issued     1,780 1,780            
Preferred stock, shares outstanding     1,780 1,780