| Schedule of long-term debt |
Long-term debt and vendor financing consists of the following (in thousands):
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of: | | | June 30, 2023 | | December 31, 2022 | | | Principal Amount | | Unamortized Discount and Deferred Financing Costs | | Carrying Value | | Principal Amount | | Unamortized Discount and Deferred Financing Costs | | Carrying Value | | 2023 Funding Agreement | $ | 87,729 | | | $ | 11,891 | | | $ | 75,838 | | | $ | — | | | $ | — | | | $ | — | | | 2021 Funding Agreement | 87,950 | | | 10,015 | | | 77,935 | | | — | | | — | | | — | | 2023 13% Notes | 200,000 | | | 17,187 | | | 182,813 | | | — | | | — | | | — | | | 2019 Facility Agreement | — | | | — | | | — | | | 143,213 | | | 11,098 | | | 132,115 | | | Vendor financing | — | | | — | | | — | | | 59,575 | | | — | | | 59,575 | | | Total debt and vendor financing | $ | 375,679 | | | $ | 39,093 | | | $ | 336,586 | | | $ | 202,788 | | | $ | 11,098 | | | $ | 191,690 | | | Less: current portion | 29,800 | | | — | | | 29,800 | | | 59,575 | | | — | | | 59,575 | | | Long-term debt and vendor financing | $ | 345,879 | | | $ | 39,093 | | | $ | 306,786 | | | $ | 143,213 | | | $ | 11,098 | | | $ | 132,115 | |
The table below outlines the components of the first draw under the 2023 Funding Agreement at funding (amounts in thousands):
| | | | | | | Principal | $ | 87,729 | | | Debt Discount - Thermo Guarantee | (6,897) | | | Debt Discount - Customer Relationship | (4,509) | | | Debt Discount - Embedded Derivative | (341) | | | Fair Value at Issuance | $ | 75,982 | |
The table below outlines the components of the 2021 Funding Agreement (amounts in thousands):
| | | | | | | Principal | $ | 94,200 | | | Less: Amount Repaid | (6,250) | | | Debt Discount - Customer Relationship | (11,626) | | | Fair Value at Issuance | $ | 76,324 | |
|
| Schedule of short-term debt |
Reflected in the table below is a rollforward of the Company's obligations under its vendor financing arrangement with MDA (amounts in thousands): | | | | | | | | | | | | | | | | | As of: | | | June 30, 2023 | | December 31, 2022 | | Confirmed obligations outstanding, January 1, 2023 and 2022, respectively | | $ | 59,575 | | | $ | — | | | Invoices confirmed during the periods | | — | | | 73,575 | | | Confirmed invoices paid during the periods | | (59,575) | | | (14,000) | | Confirmed obligations outstanding, June 30, 2023 and December 31, 2022, respectively | | $ | — | | | $ | 59,575 | |
|
| Schedule of dividends |
The table below reflects the dividends approved by the Company's Board of Directors (amounts in thousands): | | | | | | | | | | | | | | | | Payment Period | | Payment Date | | Payment Amount | | November 15, 2022 - December 31, 2022 | | January 2023 | | $ | 1,337 | | | January 1, 2023 - March 31, 2023 | | April 2023 | | 2,615 | | | April 1, 2023 - June 30, 2023 | | June 2023 | | 2,644 | |
|