Long-Term Debt | 15. LONG-TERM DEBT On September 21, 2021, CCC Intelligent Solutions Inc., an indirect wholly-owned subsidiary of the Company, together with certain of the Company’s subsidiaries acting as guarantors entered into a credit agreement (the “2021 Credit Agreement”). The 2021 Credit Agreement replaced the Company’s 2017 First Lien Credit Agreement (the “First Lien Credit Agreement”), dated as of April 27, 2017, as amended as of February 14, 2020. The proceeds of the 2021 Credit Agreement were used to repay all outstanding borrowings under the First Lien Credit Agreement. 2021 Credit Agreement —The 2021 Credit Agreement consists of an $ 800.0 million term loan (“Term B Loan”) and a revolving credit facility for an aggregate principal amount of $ 250.0 million (the “2021 Revolving Credit Facility”). The 2021 Revolving Credit Facility has a sublimit of $ 75.0 million for letters of credit. The Company received proceeds of $ 798.0 million, net of debt discount of $ 2.0 million, related to the Term B Loan. At June 30, 2022 and December 31, 2021 , the unamortized debt discount was $ 1.8 million and $ 1.9 million respectively. The Company incurred $ 9.8 million in financing costs related to the Term B Loan. These costs were recorded to a contra debt account and are being amortized to interest expense over the term of the Term B Loan using the effective interest method. As of June 30, 2022 and December 31, 2021 , the unamortized financing costs were $ 8.8 million and $ 9.5 million, respectively. The Company incurred $ 3.1 million in financing costs related to the 2021 Revolving Credit Facility. These costs were recorded to a deferred financing fees asset account and are being amortized to interest expense over the term of the 2021 Revolving Credit Facility using the effective interest method. As of June 30, 2022 and December 31, 2021 , the deferred financing fees asset balance was $ 2.6 million and $ 2.9 million, respectively. Beginning with the quarter ended March 31, 2022, the Term B Loan requires quarterly principal payments of $ 2.0 million until June 30, 2028 , with the remaining outstanding principal amount required to be paid on the maturity date, September 21, 2028 . Beginning with the year ending December 31, 2022, the Term B Loan requires a prepayment of principal, subject to certain exceptions, in connection with the receipt of proceeds from certain asset sales, casualty events, and debt issuances by the Company, and up to 50 % of annual excess cash flow, as defined in and as further set forth in the 2021 Credit Agreement. When a principal prepayment is required, the prepayment offsets the future quarterly principal payments of the same amount. As of June 30, 2022 , the Company was not subject to the annual excess cash flow calculation and no such principal prepayments are required. As of June 30, 2022 and December 31, 2021, the amount outstanding on the Term B L oan is $ 796.0 million and $ 800.0 million, respectively. As of June 30, 2022 and December 31, 2021, $ 8.0 million of the amount outstanding on the Term B Loan is classified as current in the accompanying condensed consolidated balance sheets. Borrowings under the 2021 Credit Facility bear interest at rates based on the ratio of the Company’s and its subsidiaries’ consolidated first lien net indebtedness to the Company’s and its subsidiaries’ consolidated EBITDA for applicable periods specified in the 2021 Credit Facility. A quarterly commitment fee of up to 0.50 % is payable on the unused portion of the 2021 Revolving Credit Facility. During the three months ended June 30, 2022, the weighted-average interest rate on the outstanding borrowings under the Term B Loan was 3.3 %. The Company made interest payments of $ 6.6 million during the three months ended June 30, 2022. During the six months ended June 30, 2022, the weighted-average interest rate on the outstanding borrowings under the Term B Loan was 3.2 %. The Company made interest payments of $ 12.5 million during the six months ended June 30, 2022. The Company issued a standby letter of credit for $ 0.7 million during 2021 which reduces the amount available to be borrowed under the 2021 Revolving Credit Facility and at June 30, 2022 and December 31, 2021 , $ 249.3 million was available to be borrowed. In addition, beginning with the three months ended March 31, 2022, the terms of the 2021 Credit Agreement include a financial covenant which requires that, at the end of each fiscal quarter, if the aggregate amount of borrowings under the 2021 Revolving Credit Facility exceeds 35 % of the aggregate commitments, the Company’s leverage ratio cannot exceed 6.25 to 1.00 . As of June 30, 2022, the Company was not subject to the financial covenant. First Lien Credit Agreement —In April 2017, the Company entered into the First Lien Credit Agreement. The First Lien Credit Agreement consisted of a $ 1.0 billion term loan (“First Lien Term Loan”) and revolving credit facilities for an aggregate principal amount of $ 100.0 million (the “First Lien Revolvers”), with a sublimit of $ 30.0 million for letters of credit under the First Lien Revolvers. The Company received proceeds of $ 997.5 million, net of debt discount of $ 2.5 million, related to the First Lien Term Loan. In February 2020, the Company refinanced its long-term debt and entered into the First Amendment to the First Lien Credit Agreement (“First Lien Amendment”). The proceeds of the refinance were used to repay the outstanding balance of the Company's Second Lien Credit Agreement, entered into in April 2017. The First Lien Amendment provided an incremental term loan in the amount of $ 375.0 million. The Company received proceeds from the incremental term loan of $ 373.1 million, net of debt discount of $ 1.9 million. In addition, the First Lien Amendment reduced the amount of commitments under the First Lien Revolvers to an aggregate principal amount of $ 91.3 million. The First Lien Revolvers continued to have a sublimit of $ 30.0 million for letters of credit. The Company incurred $ 27.6 million and $ 3.4 million in financing costs related to the First Lien Credit Agreement and First Lien Amendment, respectively. These costs were recorded to a contra debt account and were being amortized to interest expense over the term of the First Lien Credit Agreement using the effective interest method. The First Lien Term Loan required (after giving effect to the First Lien Amendment) quarterly principal payments of approximately $ 3.5 million until March 31, 2024, with the remaining outstanding principal amount required to be paid on the maturity date, April 27, 2024. The First Lien Term Loan required a prepayment of principal, subject to certain exceptions, in connection with the receipt of proceeds from certain asset sales, casualty events, and debt issuances by the Company, and up to 50 % of annual excess cash flow, as defined in and as further set forth in the First Lien Credit Agreement. When a principal prepayment was required, the prepayment offset the future quarterly principal payments of the same amount. As of December 31, 2020, subject to the request of the lenders of the First Lien Term Loan, a principal prepayment of up to $ 21.9 million was required. In April 2021, the Company made a principal prepayment of $ 1.5 million to those lenders who made such a request. Using a portion of the proceeds of the Business Combination, the Company made a principal prepayment of $ 525.0 million on July 30, 2021. Subsequently, in September 2021, using the proceeds from the Term B Loan provided in the 2021 Credit Agreement, the Company fully repaid the remaining $ 804.2 million of outstanding borrowings on the First Lien Term Loan. Amounts outstanding under the First Lien Credit Agreement bore interest at a variable rate of LIBOR, plus up to 3.00 % per annum based upon the Company’s leverage ratio, as defined in the First Lien Credit Agreement. A quarterly commitment fee of up to 0.50 % was payable on the unused portion of the First Lien Revolvers. During the three months ended June 30, 2021 , the weighted-average interest rate on the outstanding borrowings under the First Lien Term Loan was 4.1 %. The Company made interest payments of $ 13.5 million during the three months ended June 30, 2021. During the six months ended June 30, 2021 , the weighted-average interest rate on the outstanding borrowings under the First Lien Term Loan was 4.1 %. The Company made interest payments of $ 26.8 million during the six months ended June 30, 2021. Long-term debt as of June 30, 2022 and December 31, 2021, consists of the following (in thousands): June 30, December 31, 2022 2021 Term B Loan $ 796,000 $ 800,000 Term B Loan—discount ( 1,795 ) ( 1,926 ) Term B Loan—deferred financing fees ( 8,821 ) ( 9,464 ) Term B Loan—net of discount & fees 785,384 788,610 Less: Current portion ( 8,000 ) ( 8,000 ) Total long-term debt—net of current portion $ 777,384 $ 780,610 Interest Rate Swaps —In June 2017, the Company entered into three floating to fixed interest rate swap agreements ("Swap Agreements") to reduce its exposure to the variability from future cash flows resulting from interest rate risk related to its floating rate long-term debt. In September 2021, the Company extinguished the Swap Agreements which were scheduled to expire in June 2022 . |