Collaboration and license agreements - Schedule of supplemental financial information related to collaboration and license agreements (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | ||||
| Revenue recognized that was included in the contract liability at the beginning of the period | $ 2,820 | $ 6,512 | $ 6,560 | $ 11,821 |