XML 65 R50.htm IDEA: XBRL DOCUMENT v3.24.1
Income taxes - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Operating Loss Carryforwards [Line Items]      
Deferred tax asset valuation allowance $ 85,642 $ 56,706  
Change in Valuation Allowance 28,900    
state net operating loss carryforwards 200    
Tax credit limitation on use   The federal and state net operating losses can be carried forward indefinitely, subject to an 80% limitation against taxable income. The state net operating losses will begin to expire in 2042, unless previously utilized.  
Tax Credit Carryforward, Amount 7,800    
Orphan Drug Credit $ 3,900    
Use of annual operating loss carryforwards Sections 382 and 383, annual use of the Company’s net operating loss carryforwards may be limited in the event a cumulative change in ownership of more than 50% occurs within a three-year period.    
CARES Act NOL carryover/carryback offset to taxable income. 50.00%    
Unrecognized tax benefits $ 3,602 $ 1,968 $ 1,011
Domestic Tax Authority      
Operating Loss Carryforwards [Line Items]      
Operating Loss Carryforwards Expiration Period 2040    
orphan drug credit carryforwards Expiration Period 2041    
Domestic Tax Authority | Research and Development Tax Credit      
Operating Loss Carryforwards [Line Items]      
Federal net operating loss carryforward $ 119,200    
California Franchise Tax Board | Research and Development Tax Credit      
Operating Loss Carryforwards [Line Items]      
Tax Credit Carryforward, Amount $ 2,700