| Royalty Linked Notes - Summary of Summary of Royalty-Linked Notes (Details) $ in Thousands | 12 Months Ended | 
|---|---|
| Dec. 31, 2020  USD ($) | |
| Royalty Linked Notes [Abstract] | |
| Total liability related to the sale of future royalties, on inception | $ 10,742 | 
| Amortization of discount and debt issuance costs | 2,761 | 
| Total liability related to the sale of future royalties at December 31, 2020 | 13,503 | 
| Current portion of royalty-linked notes | 114 | 
| Royalty-linked notes, less current portion | $ 13,389 | 
| X | ||||||||||
| 
- Definition Amortization of discount and debt issuance costs related to sale of future royalties. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Liability related to the sale of future royalties. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Royalty linked notes. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Royalty-linked notes, current. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Royalty-linked notes noncurrent. No definition available. 
 |