Share-based compensation - Schedule of Share-based Compensation Expense Recorded in Statement of Operations and Comprehensive Loss (Details) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Mar. 31, 2026 |
Mar. 31, 2025 |
|
| Research and development | ||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Abstract] | ||
| Share-based compensation expense | $ 2,572 | $ 2,181 |
| Selling, general and administrative | ||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Abstract] | ||
| Share-based compensation expense | $ 3,730 | $ 7,308 |