v3.26.1
License Agreements (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Feb. 06, 2020
Apr. 04, 2019
May 31, 2026
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Dec. 31, 2025
Licenses Agreements                
Cost of product revenues       $ 89,586 $ 79,616 $ 165,860 $ 160,049  
Location, Statement of Financial Position, Activity, Accrual [Axis]: us-gaap:AccruedLiabilitiesCurrent                
Licenses Agreements                
Cost of product revenues               $ 3,058
Shionogi License and Supply Agreement                
Licenses Agreements                
Additional royalty percentage   1.00%            
ArkBio License Agreement                
Licenses Agreements                
License term     10 years          
Proceeds from milestone payments     $ 98,500          
Maximum | Grunenthal License                
Licenses Agreements                
Royalty percentage 14.00%              
Maximum | Shionogi License and Supply Agreement                
Licenses Agreements                
Royalty percentage   17.50%            
Maximum | ArkBio License Agreement                
Licenses Agreements                
Royalty percentage     14.00%          
Minimum | Shionogi License and Supply Agreement                
Licenses Agreements                
Royalty percentage   8.50%            
Minimum | ArkBio License Agreement                
Licenses Agreements                
Royalty percentage     7.00%