Annual report pursuant to Section 13 and 15(d)

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

v3.22.1
Fair Value of Financial Assets and Liabilities - Summary of Long-term Debt And Exchangeable Notes Carried at Amortized Cost on Consolidated Balance Sheet (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]      
Derivative liability - exchange option and change of control $ 6,058 $ 28,865 $ 27,120
Long-term royalty-linked notes, less current portion 17,968    
Book Value      
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]      
Current portion of long-term debt 1,627 6,374  
Long-term debt, less current portion   1,626  
Long-term exchangeable note 6,930 20,836  
Derivative liability - exchange option and change of control 6,058 28,865  
Current portion of royalty-linked notes   114  
Long-term royalty-linked notes, less current portion 17,968 13,389  
Total 32,583 71,204  
Long-term debt, less current portion   1,626  
Approximate Fair Value      
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]      
Current portion of long-term debt 1,627 6,374  
Long-term debt, less current portion   1,512  
Long-term exchangeable note 9,495 31,493  
Derivative liability - exchange option and change of control 6,058 28,865  
Current portion of royalty-linked notes   114  
Long-term royalty-linked notes, less current portion 17,968 16,379  
Total 35,148 84,737  
Long-term debt, less current portion   1,512  
Level 2 | Approximate Fair Value      
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]      
Current portion of long-term debt 1,627 6,374  
Long-term debt, less current portion   1,512  
Long-term exchangeable note 9,495 31,493  
Total 11,122 39,379  
Long-term debt, less current portion   1,512  
Level 3 | Approximate Fair Value      
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]      
Derivative liability - exchange option and change of control 6,058 28,865  
Current portion of royalty-linked notes   114  
Long-term royalty-linked notes, less current portion 17,968 16,379  
Total $ 24,026 $ 45,358