v3.22.1
Stockholders' Equity and Warrants (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Jan. 01, 2021
Dec. 21, 2020
Dec. 17, 2020
Aug. 28, 2020
Aug. 25, 2020
Jun. 19, 2020
Jun. 04, 2020
Apr. 06, 2020
Mar. 31, 2020
Jun. 30, 2020
Dec. 31, 2021
Dec. 31, 2020
Jun. 17, 2020
Mar. 19, 2020
Mar. 06, 2020
May 31, 2018
Warrants [Line Items]                                
Number of shares per warrant             1.5   1.5              
Gross proceeds                 $ 4,258              
Warrants to purchase shares of common stock             1,374,750     1,942,131            
Warrant exercise price                       $ 1.70        
Warrants converted into shares of common stock                   2,913,197            
Warrant Exchange for Common Stock (in shares) 510,460           2,062,126         1,221,945        
Number of shares issued                 6,511,280              
Equity offering costs                 $ 626              
Conversion price                           $ 0.525 $ 1.68  
Deemed dividend                       $ 140        
Offerings                                
Warrants [Line Items]                                
Gross proceeds           $ 40,000                    
Warrants to purchase shares of common stock                         7,614,700      
Warrant exercise price                         $ 5.25      
Equity offering costs           $ 4,414                    
Warrants term                         21 months      
Series E Convertible Preferred Stock                                
Warrants [Line Items]                                
Number of shares issued                       10,123        
Series F Convertible Preferred Stock                                
Warrants [Line Items]                                
Number of shares issued                       8,996        
Preferred stock, par value                               $ 0.01
Preferred stock, stated value                               100
Conversion price                             6.00 $ 6.00
March Exchange Agreement [Member]                                
Warrants [Line Items]                                
Aggregate fair value                   $ 6,434            
June Exchange Agreement [Member]                                
Warrants [Line Items]                                
Aggregate fair value             $ 11,755                  
Purchase agreement                                
Warrants [Line Items]                                
Number of shares per warrant     1                 754,902        
Gross proceeds       $ 35,333       $ 2,806                
Warrants to purchase shares of common stock     24,509,806   11,216,932     481,818         7,614,700      
Cash fees paid       $ 3,914                        
Warrant exercise price     $ 1.70   $ 3.02                      
Number of shares issued     24,509,806   10,407,408     4,139,393                
Equity offering costs   $ 5,118           $ 244                
Share price     $ 0.01   $ 3.15     $ 0.66         $ 5.253      
Offering price per pre-funded warrant               $ 0.63                
Proceeds from issuance of warrants   $ 41,667                            
Warrants term     24 months                          
Placement Agent Agreement                                
Warrants [Line Items]                                
Cash fees paid                     $ 2,162          
Warrants                                
Warrants [Line Items]                                
Exercised                 1,900,625              
Calm Warrants                                
Warrants [Line Items]                                
Warrant exercise price                           $ 0.0525 $ 1.68  
Pre-funded warrant | Purchase agreement                                
Warrants [Line Items]                                
Number of shares per warrant         1                      
Warrants to purchase shares of common stock         809,524                      
Warrant exercise price         $ 0.001                      
Palladium Warrants                                
Warrants [Line Items]                                
Warrants to purchase shares of common stock                     325,500          
Warrant exercise price                     $ 1.70          
Palladium Warrants | Purchase agreement                                
Warrants [Line Items]                                
Number of shares per warrant                         133,258      
Warrants to purchase shares of common stock         222,222                      
Warrant exercise price         $ 3.02               $ 5.25      
Palladium Warrants | Placement Agent Agreement                                
Warrants [Line Items]                                
Warrants to purchase shares of common stock                     325,500          
Warrant exercise price                     $ 1.70          
H.C.W. Warrants                                
Warrants [Line Items]                                
Warrants to purchase shares of common stock                     846,588          
Cash fees paid                     $ 2,162          
Warrant exercise price                     $ 2.125          
H.C.W. Warrants | Purchase agreement                                
Warrants [Line Items]                                
Number of shares per warrant                       1,960,784 609,176      
Warrants to purchase shares of common stock         897,355                      
Warrant exercise price         $ 3.9375             $ 2.13 $ 6.5663      
H.C.W. Warrants | Placement Agent Agreement                                
Warrants [Line Items]                                
Warrants to purchase shares of common stock                     846,588          
Warrant exercise price                     $ 2.125          
December 2020 Warrants                                
Warrants [Line Items]                                
Total of warrants exercised                     11,273,529          
Gross proceeds                     $ 19,245