v3.24.0.1
Income taxes - Textual (Details) - USD ($)
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Operating Loss Carryforwards [Line Items]        
Income tax benefit related to operating losses and research and development tax credits $ 0 $ 0 $ 0  
Net operating loss carry forwards 88,219,000 68,450,000    
Deferred Tax Assets, Tax Credit Carryforwards, Research 12,846,000 7,704,000    
Increase (Decrease) in Valuation Allowance 68,371,000 41,837,000 30,626,000  
Gross unrecognized tax benefit 3,394,000 2,110,000 $ 1,313,000 $ 644,000
Accrued interest or penalties related to uncertain tax positions 0      
Federal        
Operating Loss Carryforwards [Line Items]        
Net operating loss carry forwards 284,344,000      
Deferred Tax Assets, Operating Loss Carryforwards, Not Subject to Expiration 281,900,000      
Deferred Tax Assets, Tax Credit Carryforwards, Research 14,379,000      
NOL carryforwards that expire 2,118,000      
Research and development tax credit derecognized 87,000      
Federal | Research and development expense        
Operating Loss Carryforwards [Line Items]        
Capitalization of expenditure net of amortization, amount $ 65,437,000 $ 57,658,000    
Foreign | Research and development expense        
Operating Loss Carryforwards [Line Items]        
Research and development expenditures amortization period 15 years 15 years    
Capitalization of expenditure net of amortization, amount $ 65,899,000 $ 14,728,000    
State        
Operating Loss Carryforwards [Line Items]        
Net operating loss carry forwards 413,182,000      
Deferred Tax Assets, Tax Credit Carryforwards, Research 2,355,000      
NOL carryforwards that expire 3,632,000      
Research and development tax credit derecognized $ 43,000