Quarterly report pursuant to Section 13 or 15(d)

Licensing and Other Arrangements - Sale of Future Revenue Streams (Details)

v3.22.2
Licensing and Other Arrangements - Sale of Future Revenue Streams (Details)
$ in Thousands
3 Months Ended 6 Months Ended
Dec. 21, 2016
USD ($)
agreement
period
Jun. 30, 2022
USD ($)
Jun. 30, 2021
USD ($)
Jun. 30, 2022
USD ($)
Jun. 30, 2021
USD ($)
Dec. 31, 2021
USD ($)
Licensing and other arrangements            
Unearned revenue recognized under units-of-revenue method       $ (815) $ (731)  
Revenue recognized under units-of-revenue method   $ 458 $ 376 815 731  
Unearned revenue recognized under units-of-revenue method, current   1,669   1,669   $ 1,641
Unearned revenue recognized under units-of-revenue method, noncurrent   10,842   10,842   11,685
HealthCare Royalty Partners II, L.P            
Licensing and other arrangements            
Revenue recognized under units-of-revenue method   500 $ 400 800 $ 700  
HealthCare Royalty Partners II, L.P | Royalty Sale Agreements            
Licensing and other arrangements            
Number of agreements | agreement 2          
Unearned revenue recognized under units-of-revenue method $ 18,000          
Unearned revenue recognized under units-of-revenue method, current   1,700   1,700   1,600
Unearned revenue recognized under units-of-revenue method, noncurrent   $ 10,800   $ 10,800   $ 11,700
HealthCare Royalty Partners II, L.P | First Royalty Sale Agreement            
Licensing and other arrangements            
Cash payment received 6,500          
Eligible potential additional payments receivable upon achievement of specified net sales milestones in future years $ 4,000          
Number of milestone periods | period 3          
HealthCare Royalty Partners II, L.P | Second Royalty Sale Agreement            
Licensing and other arrangements            
Cash payment received $ 11,500