XML 54 R36.htm IDEA: XBRL DOCUMENT v3.21.1
Basis of presentation and summary of significant accounting policies - Additional Information (Details)
$ in Millions
12 Months Ended
Dec. 31, 2020
USD ($)
segment
shares
Dec. 31, 2019
USD ($)
Significant Accounting Policies [Line Items]    
Outstanding pre-funded warrants (in shares) | shares 12,663,010  
Number of operating segments | segment 1  
Money market funds    
Significant Accounting Policies [Line Items]    
Money market funds | $ $ 108.3 $ 40.0
Minimum    
Significant Accounting Policies [Line Items]    
Property and equipment useful life 3 years  
Maximum    
Significant Accounting Policies [Line Items]    
Property and equipment useful life 7 years  
Office | Maximum    
Significant Accounting Policies [Line Items]    
Lease term 12 months