XML 29 R21.htm IDEA: XBRL DOCUMENT v3.22.2.2
Summary of significant accounting policies - Additional Information (Details) - USD ($)
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Dec. 31, 2021
Lessee, Lease, Description [Line Items]          
Short-term investments $ 66,500,000   $ 66,500,000    
Allowance for credit loss $ 0   $ 0    
Expected dividends 0.00% 0.00% 0.00% 0.00%  
Prefunded Warrants          
Lessee, Lease, Description [Line Items]          
Outstanding pre-funded warrants (in shares) 12,663,010 12,663,010 12,663,010 12,663,010  
Money market funds          
Lessee, Lease, Description [Line Items]          
Cash equivalents $ 39,700,000   $ 39,700,000   $ 140,900,000
Maximum | Office space          
Lessee, Lease, Description [Line Items]          
Lease term 12 months   12 months