Stock-based compensation - Schedule of stock-based compensation expense (Details) - USD ($) $ in Thousands |
3 Months Ended | |
---|---|---|
Mar. 31, 2025 |
Mar. 31, 2024 |
|
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||
Total stock-based compensation expense | $ 5,507 | $ 6,215 |
Research and development | ||
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||
Total stock-based compensation expense | 2,588 | 2,237 |
General and administrative | ||
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||
Total stock-based compensation expense | $ 2,919 | $ 3,978 |