v3.26.1
License and collaboration agreements - Summary of Transaction Price Allocated to Each Performance Obligation, in Addition to Revenue Activity (Details) - Biogen License Agreement - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
License And Collaboration Agreement [Line Items]        
Transaction Price Allocated $ 0 $ 243,423 $ 0 $ 243,423
Revenue Recognized 6,500 3,200 10,563 155,618
IP License        
License And Collaboration Agreement [Line Items]        
Transaction Price Allocated 0 150,779 0 150,779
Revenue Recognized     0 150,779
Global Development Activity        
License And Collaboration Agreement [Line Items]        
Transaction Price Allocated $ 0 $ 92,644 0 92,644
Revenue Recognized     $ 10,563 $ 4,839