XML 65 R52.htm IDEA: XBRL DOCUMENT v3.22.0.1
Liabilities Related to the Sales of Future Royalties - Additional Information (Details)
$ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Dec. 30, 2020
USD ($)
Dec. 16, 2020
USD ($)
Feb. 24, 2012
USD ($)
Mar. 31, 2014
USD ($)
Mar. 31, 2013
USD ($)
Dec. 31, 2021
USD ($)
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Liability Related to the Sale of Future Royalties [Line Items]                  
Loss on revaluation of liability related to the sale of future royalties             $ 24,410 $ 0 $ 0
2012 Purchase and Sale Agreement                  
Liability Related to the Sale of Future Royalties [Line Items]                  
Proceeds from sale of royalty rights     $ 124,000            
2012 Purchase and Sale Agreement | Future Royalties                  
Liability Related to the Sale of Future Royalties [Line Items]                  
Fair value of liabilities           $ 84,700 $ 84,700    
Loss on revaluation of liability related to the sale of future royalties           23,500      
Transaction costs related to revised royalty payments           $ 900      
2012 Purchase and Sale Agreement | Future Royalties | Measurement Input, Discount Rate                  
Liability Related to the Sale of Future Royalties [Line Items]                  
Royalties liability, measurement input           0.160 0.160    
2020 Purchase and Sale Agreement                  
Liability Related to the Sale of Future Royalties [Line Items]                  
Proceeds from sale of royalty rights $ 150,000                
Payment of transaction related to purchase and sale agreement   $ 210,000              
Payment of transaction related to purchase and sale agreement if threshold is not achieved   240,000              
Minimum transaction royalties payments needed to pay the difference between the 2025 threshold and 2020 transaction royalties   $ 208,000              
Transaction costs related to sale of potential future royalties $ 3,800                
2020 Purchase and Sale Agreement | Measurement Input, Interest Rate                  
Liability Related to the Sale of Future Royalties [Line Items]                  
Royalties liability, measurement input           0.15 0.15    
Pursuant to the 2012 Purchase and Sale Agreement                  
Liability Related to the Sale of Future Royalties [Line Items]                  
Payment made for milestone not achieved year two       $ 7,000          
Payment made for milestone not achieved year one         $ 3,000