Annual report pursuant to Section 13 and 15(d)

Convertible Preferred Stock and Stockholders' Equity - Warrants for shares of common stock (Details)

v3.22.0.1
Convertible Preferred Stock and Stockholders' Equity - Warrants for shares of common stock (Details)
1 Months Ended 12 Months Ended
Jul. 27, 2021
USD ($)
Jun. 04, 2021
USD ($)
$ / shares
shares
Nov. 09, 2020
$ / shares
shares
May 18, 2020
shares
Apr. 23, 2020
USD ($)
$ / shares
shares
Apr. 18, 2019
$ / shares
shares
Dec. 31, 2021
USD ($)
$ / shares
shares
Jun. 30, 2021
USD ($)
$ / shares
shares
Jan. 31, 2021
USD ($)
$ / shares
shares
Apr. 30, 2020
USD ($)
$ / shares
shares
Mar. 31, 2020
USD ($)
$ / shares
shares
Feb. 29, 2020
USD ($)
Dec. 31, 2021
USD ($)
$ / shares
shares
Dec. 31, 2020
USD ($)
$ / shares
shares
Apr. 23, 2021
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock     45,534                        
Exercise price of warrants | $ / shares     $ 2.55                        
Deemed dividend from warrant repricing | $                           $ 134,000  
Proceeds from Warrant Exercises | $                         $ 0 $ 789,000  
Shares issued             0           0 250,000  
Dividend rate                         8.00% 8.00%  
Issuance of common stock     236,375 60,250                      
Proceeds from issuance of common stock upon warrant exercises, net of issuance costs | $                         $ 8,303,000 $ 0  
Lippert Heishorn Associates Inc                              
Class of Stock [Line Items]                              
Exercise price of warrants | $ / shares             $ 1.52           $ 1.52    
Proceeds from Warrant Exercises | $             $ 21,000                
Issuance of common stock             25,000                
Lisa Walsh                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock   187,500       12,756                  
Exchange of convertible preferred stock for common stock (in shares)   250,000                          
Warrant term   5 years 4 months                          
Alexander Capital, LP.                              
Class of Stock [Line Items]                              
Proceeds from Warrant Exercises | $                       $ 11,000      
Common Shares                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock     236,369                        
Exchange of convertible preferred stock for common stock (in shares)                           500  
Issuance of common stock                           5,931,062  
Issuance of common stock upon warrant exchanged                         3,465,495    
June 4th Purchase Agreement                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock             2,275,000           2,275,000    
Exercise price of warrants | $ / shares             $ 2.55           $ 2.55    
Fair value of warrant | $             $ 3,153,000           $ 3,153,000    
Common Stock Price | $ / shares             $ 2.52           $ 2.52    
June 9th Purchase Agreement                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock             2,040,000           2,040,000    
Exercise price of warrants | $ / shares             $ 2.61           $ 2.61    
Fair value of warrant | $             $ 2,375,000           $ 2,375,000    
Common Stock Price | $ / shares             $ 2.25           $ 2.25    
July 22nd Purchase Agreement                              
Class of Stock [Line Items]                              
Proceeds from issuance of common stock upon warrant exercises, net of issuance costs | $ $ 9,026,000                            
April 2020 public offering                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock         1,525,000         1,525,000          
Exercise price of warrants | $ / shares         $ 3.25         $ 3.25          
Fair value of warrant | $                   $ 2,606,000          
Common Stock Price | $ / shares                   $ 2.50          
Proceeds from Issuance of Warrants | $         $ 6,500,000                    
Warrant term                             5 years
Combined shares price | $ / shares         $ 3.24                    
April 2020 public offering | Common Shares                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock         2,000,000                    
Warrant                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock             3,465,495           3,465,495    
Proceeds from Issuance of Warrants | $                         $ 8,303,000    
Warrant | Lisa Walsh                              
Class of Stock [Line Items]                              
Exercise price of warrants | $ / shares   $ 3.00                          
Fair value of warrant | $   $ 570,000                          
Common Stock Price | $ / shares   $ 4.77                          
Warrant | Common Shares                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock               1,000,000              
Exercise price of warrants | $ / shares               $ 4.46              
Fair value of warrant | $               $ 579,000              
Common Stock Price | $ / shares               $ 4.50              
Warrants to purchase shares of common stock for cash               250,000              
Warrant term               5 years              
Net proceeds | $               $ 2,300,000              
Warrant | January 2021                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock                 1,221,675            
Exercise price of warrants | $ / shares                 $ 4.20            
Fair value of warrant | $                 $ 567,000            
Common Stock Price | $ / shares                 $ 3.85            
Proceeds from Warrant Exercises | $                 $ 2,900,000            
Warrants to purchase shares of common stock for cash                 305,419            
Warrant term                 5 years            
March 2020 Warrant                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock                     227,679        
Exercise price of warrants | $ / shares                     $ 6.40        
Fair value of warrant | $                     $ 625,000        
Common Stock Price | $ / shares                     $ 5.40        
March 2020 Maxim Warrant                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock                     20,400        
Prefunded common stock purchase warrants | April 2020 public offering                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock                   475,000          
Exercise price of warrants | $ / shares                   $ 0.01          
Fair value of warrant | $                   $ 475,000          
Proceeds from Issuance of Warrants | $                   $ 4,750          
Common stock purchase warrants                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock     236,369                        
Common stock purchase warrants | April 2020 public offering                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock         475,000                    
April 2020 Maxim Warrant                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock             10,000     100,000     10,000 15,000  
Exercise price of warrants | $ / shares                   $ 3.90          
Fair value of warrant | $                   $ 106,000          
Common Stock Price | $ / shares             $ 15.80     $ 2.50     $ 15.80 $ 15.80  
Combined shares price | $ / shares                         $ 0.20 $ 0.20  
Issuance of common stock upon warrant exchanged                         20,722 20,722  
April 2020 Maxim Warrant | April 2020 public offering                              
Class of Stock [Line Items]                              
Warrants to purchase shares of Common Stock         100,000         291,000          
Exercise price of warrants | $ / shares         $ 3.90                    
Dividend Yield | June 4th Purchase Agreement                              
Class of Stock [Line Items]                              
Measurement input             0.0           0.0    
Dividend Yield | June 9th Purchase Agreement                              
Class of Stock [Line Items]                              
Measurement input             0.0           0.0    
Dividend Yield | April 2020 public offering                              
Class of Stock [Line Items]                              
Measurement input                   0.0          
Dividend Yield | Warrant | Lisa Walsh                              
Class of Stock [Line Items]                              
Measurement input   0.0           0.0              
Dividend Yield | Warrant | January 2021                              
Class of Stock [Line Items]                              
Measurement input                 0.0            
Dividend Yield | March 2020 Warrant                              
Class of Stock [Line Items]                              
Measurement input                     0.0        
Dividend Yield | April 2020 Maxim Warrant                              
Class of Stock [Line Items]                              
Measurement input                   0          
Volatility | June 4th Purchase Agreement                              
Class of Stock [Line Items]                              
Measurement input             64.0           64.0    
Volatility | June 9th Purchase Agreement                              
Class of Stock [Line Items]                              
Measurement input             64.0           64.0    
Volatility | April 2020 public offering                              
Class of Stock [Line Items]                              
Measurement input                   64.0          
Volatility | Warrant | Lisa Walsh                              
Class of Stock [Line Items]                              
Measurement input   60.7           60.7              
Volatility | Warrant | January 2021                              
Class of Stock [Line Items]                              
Measurement input                 60.1            
Volatility | March 2020 Warrant                              
Class of Stock [Line Items]                              
Measurement input                     61.0        
Volatility | April 2020 Maxim Warrant                              
Class of Stock [Line Items]                              
Measurement input                   64          
Risk-free rate of interest | June 4th Purchase Agreement                              
Class of Stock [Line Items]                              
Measurement input             0.45           0.45    
Risk-free rate of interest | June 9th Purchase Agreement                              
Class of Stock [Line Items]                              
Measurement input             0.32           0.32    
Risk-free rate of interest | April 2020 public offering                              
Class of Stock [Line Items]                              
Measurement input                   0.37          
Risk-free rate of interest | Warrant | Lisa Walsh                              
Class of Stock [Line Items]                              
Measurement input   0.78           0.77              
Risk-free rate of interest | Warrant | January 2021                              
Class of Stock [Line Items]                              
Measurement input                 0.45            
Risk-free rate of interest | March 2020 Warrant                              
Class of Stock [Line Items]                              
Measurement input                     0.38        
Risk-free rate of interest | April 2020 Maxim Warrant                              
Class of Stock [Line Items]                              
Measurement input                   0.37          
Term (Years) | June 4th Purchase Agreement                              
Class of Stock [Line Items]                              
Measurement input             5.5           5.5    
Term (Years) | June 9th Purchase Agreement                              
Class of Stock [Line Items]                              
Measurement input             5.5           5.5    
Term (Years) | April 2020 public offering                              
Class of Stock [Line Items]                              
Measurement input                   5          
Term (Years) | Warrant | Lisa Walsh                              
Class of Stock [Line Items]                              
Measurement input   5.4           5.0              
Term (Years) | Warrant | January 2021                              
Class of Stock [Line Items]                              
Measurement input                 5.0            
Term (Years) | March 2020 Warrant                              
Class of Stock [Line Items]                              
Fair Value Expected Term                     5 years        
Term (Years) | April 2020 Maxim Warrant                              
Class of Stock [Line Items]                              
Measurement input                   5          
Series A Preferred Stock                              
Class of Stock [Line Items]                              
Common Stock Price | $ / shares           $ 80.00                  
Shares issued           250,000 0           0    
Series A Preferred Stock | Lisa Walsh                              
Class of Stock [Line Items]                              
Shares issued           250,000                  
Dividend rate           8.00%                  
Exchange of convertible preferred stock for common stock (in shares)                         250,000    
Issuance of common stock upon warrant exchanged                         187,500