Quarterly report pursuant to Section 13 or 15(d)


3 Months Ended
Mar. 31, 2022
Debt Disclosure [Abstract]  
Debt consisted of the following (in thousands):
March 31, 2022 December 31, 2021
Term loan, due 2028 $ 371,250  $ 372,187 
Revolving credit facility, due 2026 55,000  25,000 
Less: current portion (3,750) (3,750)
Less: unamortized discount and debt issuance costs (9,605) (9,953)
Total long-term debt $ 412,895  $ 383,484 
At both March 31, 2022 and December 31, 2021, the Company’s senior secured loan agreement consisted of a senior secured term loan facility (the “Term Loan Facility”) of $375 million and a revolving credit facility of up to $75 million (the “Revolving Facility,” and together with the Term Loan Facility, the “Credit Facilities”). At both March 31, 2022 and December 31, 2021, there were $2.1 million of outstanding letters of credit that reduced the Company’s availability under the revolving credit facility. The Company’s unamortized discounts and debt issuance costs related to the Term Loan Facility were $9.6 million and $10.0 million at March 31, 2022 and December 31, 2021, respectively. The unamortized debt issuance costs related to the Revolving Facility were $1.7 million and $1.8 million at March 31, 2022 and December 31, 2021, respectively, and are included in other assets in the condensed consolidated balance sheet. See Note 7 to the Company’s consolidated and combined financial statements in its Annual Report on Form 10-K for the year ended December 31, 2021 for further information and significant terms and conditions associated with the Term Loan Facility and Revolving Facility.
In connection with the closing of the Wholesome Transaction, on February 5, 2021, the Company and certain of its subsidiaries entered into an amendment and restatement agreement (the “Amended and Restated Agreement”) which amended and restated its then existing senior secured loan agreement dated as of June 25, 2020. As of the date of the amendment of the credit facilities, the aggregate unamortized debt issuance costs totaled $6.2 million, of which $4.4 million was expensed as a loss on extinguishment of debt in the first quarter of 2021. Additionally, in connection with the Amended and Restated Credit Agreement, the Company paid fees to certain lenders of $3.8 million, which was considered a debt discount, all of which was deferred, and incurred transaction costs of $8.9 million, of which $7.8 million was deferred and $1.1 million was expensed as part of loss on extinguishment and debt transaction costs in the first quarter of 2021.
As further described in Note 2, following the completion of the Wholesome Earn-Out Period, the Company determined, in accordance with the terms of the Purchase Agreement, that the sellers were entitled to receive the Earn-Out Amount in full. The Company elected to satisfy part of the Earn-Out Amount in common stock and on February 23, 2022, issued 2,659,574 shares of the Company’s common stock. The remaining $30 million portion of the $55 million Earn-Out Amount was paid in cash which was funded from available capacity under the Company’s revolving credit facility.