Quarterly report pursuant to Section 13 or 15(d)

Fair Value of Financial Assets and Liabilities - Summary of Long-term Debt Carried at Amortized Cost on Condensed Consolidated Balance Sheet (Details)

v3.21.2
Fair Value of Financial Assets and Liabilities - Summary of Long-term Debt Carried at Amortized Cost on Condensed Consolidated Balance Sheet (Details) - USD ($)
$ in Thousands
Jun. 30, 2021
Dec. 31, 2020
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Derivative liability - exchange option and change of control $ 21,864 $ 28,865
Long-term royalty linked notes, less current portion 15,505  
Book Value    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Current portion of long-term debt 4,845 6,374
Long-term debt, less current portion   1,626
Long-term exchangeable note 5,339 20,836
Derivative liability - exchange option and change of control 21,864 28,865
Current portion of royalty linked notes 190 114
Long-term royalty linked notes, less current portion 15,315 13,389
Total 47,553 71,204
Approximate Fair Value    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Current portion of long-term debt 4,845 6,374
Long-term debt, less current portion   1,512
Long-term exchangeable note 8,414 31,493
Derivative liability - exchange option and change of control 21,864 28,865
Current portion of royalty linked notes 190 114
Long-term royalty linked notes, less current portion 15,315 16,379
Total 50,628 84,737
Level 2 | Approximate Fair Value    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Current portion of long-term debt 4,845 6,374
Long-term debt, less current portion   1,512
Long-term exchangeable note 8,414 31,493
Total 13,259 39,379
Level 3 | Approximate Fair Value    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Derivative liability - exchange option and change of control 21,864 28,865
Current portion of royalty linked notes 190 114
Long-term royalty linked notes, less current portion 15,315 16,379
Total $ 37,369 $ 45,358