Annual report pursuant to Section 13 and 15(d)

Nature of Operations and Basis of Presentation - Additional Information (Details)

v3.22.1
Nature of Operations and Basis of Presentation - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Jan. 21, 2020
Organization Consolidation And Presentation Of Financial Statements [Line Items]        
Net losses $ 91,564 $ 52,006 $ 103,130  
Accumulated deficit 378,493 286,929    
Cash and cash equivalents 27,446 $ 14,508    
Short-term investments 53,898      
2025 Exchangeable Notes        
Organization Consolidation And Presentation Of Financial Statements [Line Items]        
Aggregate principal amount $ 12,600      
2025 Exchangeable Notes | Private Placement and Rights Offering        
Organization Consolidation And Presentation Of Financial Statements [Line Items]        
Aggregate principal amount       $ 51,800
Debt instrument interest rate       6.50%
RLNs | Private Placement and Rights Offering        
Organization Consolidation And Presentation Of Financial Statements [Line Items]        
Aggregate principal amount       $ 100