Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity (Details)

v3.21.1
Stockholders' Equity (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended
Jan. 31, 2021
Mar. 31, 2021
Mar. 31, 2020
Dec. 31, 2020
Dec. 31, 2019
Class of Stock [Line Items]          
Proceeds from the sale of stock   $ 84,817 $ 9,495    
Issuance expense   2,137 311    
Value of shares registered   367,817 $ 33,231 $ 277,071 $ 26,235
Restricted Stock [Member]          
Class of Stock [Line Items]          
Proceeds from the sale of stock   $ 1,200      
Warrant [Member] | Investors [Member]          
Class of Stock [Line Items]          
Number of warrants issued   1,257,235      
Number of warrants exercised   543,686      
Members of our board of directors and an employee of Company [Member] | Restricted Stock [Member]          
Class of Stock [Line Items]          
Issuance of common stock   242,645      
Number of shares held to cover withholding taxes related to the settlement of restricted stock units   40,250      
Common Stock [Member] | Investors [Member]          
Class of Stock [Line Items]          
Issuance of common stock   415,657      
Issuance of common stock, value   $ 800      
Issuance of common stock shares exercised   415,657      
Series B Preferred Stock [Member]          
Class of Stock [Line Items]          
Conversion of preferred stock   2,000      
Leaving shares outstanding   2,199      
2020 ATM Offering [Member] | Common Stock [Member] | H.C. Wainwright [Member]          
Class of Stock [Line Items]          
Proceeds from the sale of stock $ 84,800        
Proceeds from the sale of stock net 82,700        
Issuance expense $ 2,100        
Weighted average price $ 19.13 $ 19.13      
Issuance of common stock 4,433,468 4,433,468      
Issuance of common stock, value   $ 200,000      
Value of shares registered $ 200,000