v3.26.1
Stock-based compensation - Assumptions Used in Determine the Grant Date Fair Value of Stock Options (Details) - $ / shares
6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]    
Expected dividend yield 0.00%  
Options    
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]    
Weighted average fair value (in dollars per share) $ 6.28 $ 9.52
Expected volatility, minimum 98.20% 95.00%
Expected volatility, maximum 99.10% 103.10%
Expected dividend yield 0.00% 0.00%
Risk-free interest rate, minimum 3.72% 3.93%
Risk-free interest rate, maximum 4.32% 4.47%
Options | Non officer employees | Minimum    
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]    
Expected term (in years) 5 years 6 months 5 years 6 months
Options | Non officer employees | Maximum    
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]    
Expected term (in years) 6 years 1 month 6 days 6 years 1 month 6 days
Options | Officer employees    
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]    
Expected term (in years) 6 years 1 month 6 days 6 years 1 month 6 days
Employee Stock Purchase Plan    
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]    
Weighted average fair value (in dollars per share) $ 1.63 $ 2.83
Expected term (in years) 6 months 6 months
Expected volatility 61.10% 112.30%
Expected dividend yield 0.00% 0.00%
Risk-free interest rate 3.58% 4.25%