XML 41 R30.htm IDEA: XBRL DOCUMENT v3.22.2
Royalty Purchase Liability - Additional Information (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Nov. 30, 2018
Mar. 31, 2022
Jun. 30, 2022
Jun. 30, 2021
Dec. 31, 2021
Jul. 31, 2021
May 31, 2020
Royalty Purchase Liability [Line Items]              
Total agreed amount of royalty purchase price     $ 133,065   $ 128,063    
Royalty purchase price     0 $ 20,000      
Noncash interest expense     $ 5,002 2,555      
Warrant expiration term     6 years        
Fair value of equity classified warrants     $ 4,700        
Royalty Agreements              
Royalty Purchase Liability [Line Items]              
Total agreed amount of royalty purchase price $ 80,000            
Royalty purchase price   $ 117,500          
Outstanding amount of royalty agreement             $ 20,000
Noncash interest expense     $ 5,000 2,600      
Effective interest rate     8.20%        
Royalty Agreements | First Tranche              
Royalty Purchase Liability [Line Items]              
Royalty purchase price $ 20,000            
Royalty Agreements | Fifth Tranche              
Royalty Purchase Liability [Line Items]              
Outstanding amount of royalty agreement       $ 20,000      
Royalty Agreements | Fourth Tranche              
Royalty Purchase Liability [Line Items]              
Outstanding amount of royalty agreement           $ 37,500  
Amended Royalty Agreements              
Royalty Purchase Liability [Line Items]              
Total agreed amount of royalty purchase price             117,500
Outstanding amount of royalty agreement             37,500
Amended Royalty Agreements | Fifth Tranche              
Royalty Purchase Liability [Line Items]              
Outstanding amount of royalty agreement             $ 20,000