v3.22.2.2
Summary of significant accounting policies - Liability for Sale of Future Royalties (Details) - USD ($)
$ in Millions
1 Months Ended
Jul. 17, 2020
Jul. 31, 2020
Sep. 30, 2022
Assigned royalty payments      
Cash consideration received from Royalty Purchase Agreement   $ 650.0  
Assigned royalty payment, retained percentage 57.067%    
Remaining potential milestones that can be achieved     $ 250.0
Royalty Purchase Agreement | Assigned Royalty Payments      
Assigned royalty payments      
Assigned royalty payment, percentage 42.933%    
Cash consideration received from Royalty Purchase Agreement $ 650.0    
Royalty purchase agreement, termination period 60 days    
Royalty purchase agreement, payment maximum $ 1,300.0