Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Narrative (Details)

v3.22.2.2
Stockholders' Equity - Narrative (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Feb. 01, 2022
Jan. 31, 2022
Apr. 07, 2021
Feb. 28, 2021
Jan. 31, 2021
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Apr. 30, 2022
Mar. 31, 2022
Dec. 31, 2021
Mar. 31, 2021
Dec. 31, 2020
Jul. 15, 2020
Class of Stock [Line Items]                            
Common stock, shares authorized (in shares)             1,000,000,000       1,000,000,000      
Common stock, par value (in dollars per share)             $ 0.0001       $ 0.0001      
Common stock, shares issued (in shares)             98,137,070       96,751,610      
Common stock, shares outstanding (in shares)             98,137,070       96,751,610      
Proceeds from sales of common stock, net of issuance costs             $ 0 $ 29,670            
Proceeds not received related to sales of common stock             $ 0 $ 867            
Number of warrants (in shares)             5,636,801       5,636,801      
Common Stock                            
Class of Stock [Line Items]                            
Common stock, shares outstanding (in shares)           72,736,000 98,137,000 72,736,000   97,251,000 96,752,000 71,204,000 56,371,000  
Sales of common stock, net of issuance costs (in shares)           692,000   15,123,000            
Warrants                            
Class of Stock [Line Items]                            
Warrant, term                         3 years  
Number of warrants (in shares)       3,840,000                 2,160,000 2,160,000
Additional warrant shares registered (as a percent)                 250.00%          
Common Stock | Warrants                            
Class of Stock [Line Items]                            
Exercise price per share (in dollars per share)       $ 2.25                 $ 4.00 $ 4.00
At Market Issuance Sales Agreement                            
Class of Stock [Line Items]                            
Common stock, par value (in dollars per share)   $ 0.0001                        
Aggregate offering price   $ 100,000 $ 25,000                      
Aggregate net proceeds received $ 200,000             $ 979            
Proceeds from sales of common stock, net of issuance costs               112            
Payments of stock offering costs               30            
Additional transaction costs           $ 147   147            
Gross proceeds of sales price per share (as a percent)     3.00%                      
Proceeds not received related to sales of common stock               $ 867            
At Market Issuance Sales Agreement | Common Stock                            
Class of Stock [Line Items]                            
Sales of common stock, net of issuance costs (in shares)               691,584            
At-The-Market Offering                            
Class of Stock [Line Items]                            
Proceeds from sales of common stock, net of issuance costs         $ 5,058                  
Payments of stock offering costs         $ 156                  
At-The-Market Offering | Common Stock                            
Class of Stock [Line Items]                            
Sales of common stock, net of issuance costs (in shares)         2,670,121                  
Underwritten Offering                            
Class of Stock [Line Items]                            
Proceeds from sales of common stock, net of issuance costs       $ 24,722                    
Payments of stock offering costs       1,740                    
Additional transaction costs       $ 75                    
Underwritten Offering | Common Stock                            
Class of Stock [Line Items]                            
Sales of common stock, net of issuance costs (in shares)       11,761,111                    
Exercise price per share (in dollars per share)       $ 2.25