| Schedule of long-term debt |
Long-term debt consists of the following (in thousands):
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of: | | June 30, 2026 | | December 31, 2025 | | Principal Amount | | Unamortized Premium (Discount) and Deferred Financing Costs | | Carrying Value | | Principal Amount | | Unamortized Premium (Discount) and Deferred Financing Costs | | Carrying Value | | 2024 Debt Repayment | $ | 221,625 | | | $ | (54,343) | | | $ | 167,282 | | | $ | 221,625 | | | $ | 86,045 | | | $ | 307,670 | | | 2023 Funding Agreement | 202,067 | | | (10,560) | | | 191,507 | | | 182,147 | | | (12,164) | | | 169,983 | | | 2021 Funding Agreement | — | | | — | | | — | | | 6,250 | | | (115) | | | 6,135 | | | Total debt | $ | 423,692 | | | $ | (64,903) | | | $ | 358,789 | | | $ | 410,022 | | | $ | 73,766 | | | $ | 483,788 | | | Less: current portion | 51,400 | | | — | | | 51,400 | | | 31,950 | | | (115) | | | 31,835 | | | Long-term debt | $ | 372,292 | | | $ | (64,903) | | | $ | 307,389 | | | $ | 378,072 | | | $ | 73,881 | | | $ | 451,953 | |
|