Quarterly report pursuant to Section 13 or 15(d)

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

v3.21.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, 2021
USD ($)
Jun. 30, 2020
USD ($)
Jun. 30, 2021
USD ($)
Jun. 30, 2020
USD ($)
Dec. 31, 2020
USD ($)
Licensing and other arrangements            
Unearned revenue recognized under units-of-revenue method       $ (731) $ (695)  
Revenue recognized under units-of-revenue method   $ 376 $ 391 731 695  
Unearned revenue recognized under units-of-revenue method, current   1,503   1,503   $ 1,452
Unearned revenue recognized under units-of-revenue method, noncurrent   12,734   12,734   $ 13,516
HealthCare Royalty Partners II, L.P            
Licensing and other arrangements            
Revenue recognized under units-of-revenue method   400 $ 400 700 $ 700  
Unearned revenue recognized under units-of-revenue method, current   1,500   1,500    
Unearned revenue recognized under units-of-revenue method, noncurrent   $ 12,700   $ 12,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          
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