Stock-based compensation - Schedule of Classification of Stock-based Compensation in Condensed Consolidated Statements of Operations and Comprehensive Loss (Details) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Mar. 31, 2026 |
Mar. 31, 2025 |
|
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
| Stock-based compensation | $ 4,647 | $ 2,635 |
| General and Administrative | ||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
| Stock-based compensation | 2,713 | 2,155 |
| Research and Development | ||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
| Stock-based compensation | $ 1,934 | $ 480 |