Derivatives - Schedule of Derivative Gain (Loss) (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | |||
|---|---|---|---|---|---|
Jun. 30, 2023 |
Jun. 30, 2022 |
Jun. 30, 2023 |
Jun. 30, 2022 |
May 31, 2013 |
|
| Derivative Instruments, Gain (Loss) [Line Items] | |||||
| Derivative gain (loss) | $ 299 | $ (1,242) | $ 299 | $ (1,728) | |
| Embedded derivative within 2023 Funding Agreement | |||||
| Derivative Instruments, Gain (Loss) [Line Items] | |||||
| Derivative gain (loss) | 299 | 0 | 299 | 0 | |
| Compound embedded derivative within the 2013 8.00% Notes | |||||
| Derivative Instruments, Gain (Loss) [Line Items] | |||||
| Derivative gain (loss) | 0 | 0 | 0 | 216 | |
| 2019 Facility Agreement | |||||
| Derivative Instruments, Gain (Loss) [Line Items] | |||||
| Derivative gain (loss) | $ 0 | $ (1,242) | $ 0 | $ (1,944) | |
| Convertible 8.00% Notes | |||||
| Derivative Instruments, Gain (Loss) [Line Items] | |||||
| Loan interest rate | 8.00% | ||||