v3.24.1.1.u2
Collaborative Research and License Agreements (Details)
$ in Thousands
12 Months Ended
Jul. 30, 2021
USD ($)
agreement
performanceObligation
Nov. 13, 2019
USD ($)
agreement
license
performanceObligation
Dec. 31, 2022
USD ($)
Dec. 31, 2020
USD ($)
Ipsen Collaboration        
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]        
Collaboration agreement, number of performance obligations | performanceObligation 2      
Ipsen Collaboration | Ipsen HD        
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]        
Transaction price allocated $ 10,793      
Ipsen Collaboration | Ipsen AS        
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]        
Transaction price allocated $ 9,207      
Ipsen Collaboration | Collaborative Arrangement        
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]        
Number of collaboration programs | agreement 2      
Proceeds from collaborators $ 20,000      
Pre-clinical milestone payment amount 5,000      
Development and regulatory milestone payment amount 180,000      
Commercial milestone payment amount 762,000      
Collaboration agreement, licensing fees incurred 3,000      
Transaction price allocated 20,000      
Collaboration revenue     $ 17,691  
Ipsen Collaboration | Collaborative Arrangement | Exercise Period One        
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]        
Collaboration option exercise fee 10,000      
Ipsen Collaboration | Collaborative Arrangement | Exercise Period Two        
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]        
Collaboration option exercise fee $ 25,000      
AbbVie Collaboration        
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]        
Collaboration agreement, number of performance obligations | performanceObligation   1    
Collaboration agreement, number of development and commercialization licenses with option to purchase | license   2    
AbbVie Collaboration | Collaborative Arrangement        
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]        
Number of collaboration programs | agreement   2    
Collaboration option exercise fee   $ 10,000    
Transaction price allocated   25,000    
Collaboration revenue     $ 11,135 $ (2,792)
Non-refundable upfront payment received for research agreement   25,000    
Collaboration option exercise fee   10,000    
AbbVie Collaboration | Maximum | Collaborative Arrangement        
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]        
Development milestone payment   55,000    
Product approval and launch milestone payment   132,500    
Sales milestone payment   175,000    
Development and Commercialization License | AbbVie Collaboration | Collaborative Arrangement        
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]        
Collaboration option exercise fee   $ 15,000