Debt and Credit Facilities - Additional Information (Detail) $ in Thousands | | | | 1 Months Ended | 3 Months Ended | 6 Months Ended | 12 Months Ended | | | |
Jun. 30, 2023 USD ($) | Dec. 31, 2022 USD ($) | May 19, 2022 USD ($) | May 31, 2022 USD ($) | Jun. 30, 2023 USD ($) | Jun. 30, 2022 USD ($) | Jun. 30, 2023 USD ($) | Jun. 30, 2022 USD ($) | Dec. 31, 2022 USD ($) | Mar. 31, 2023 USD ($) | Mar. 22, 2023 USD ($) | Jan. 01, 2022 USD ($) |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Payments of capital distribution | | | | | | | $ 42,300 | $ 838,000 | | | | |
Unamortized debt issuance costs net | $ 55,336 | $ 34,205 | | | $ 55,336 | | 55,336 | | $ 34,205 | | | |
Amortization of debt issuance costs | | | | | $ 5,600 | $ 3,400 | $ 11,071 | $ 5,212 | | | | |
Wholly Owned Subsidiaries [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Payments of capital distribution | | | $ 838,000 | $ 838,000 | | | | | | | | |
Cash on hand utilized | | | 13,000 | 13,000 | | | | | | | | |
Wholly Owned Subsidiaries [Member] | Increase in the Term Loan Facility [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Debt instrument face value | | | 600,000 | 600,000 | | | | | | | | |
Debt issuance costs gross | | | 14,600 | | | | | | | | | |
Wholly Owned Subsidiaries [Member] | Term Loan Facility as per Amendment Agreement One [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Long term debt percentage bearing variable rate | 12.16% | 10.67% | | | 12.16% | | 12.16% | | 10.67% | | | |
Debt issuance costs gross | | | | | | | | | | $ 750 | | |
Long term debt number of days by which the repayment would have been deferred | | | | | | | 120 days | | | | | |
Wholly Owned Subsidiaries [Member] | Term Loan Facility as per Amendment Agreement One [Member] | Until the First Quarter of 2023 [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Maximum ratio of consolidated debt to earnings before interest tax depreciation and amortization | | | | | | | 7.5 | | | | | |
Wholly Owned Subsidiaries [Member] | Term Loan Facility as per Amendment Agreement One [Member] | From the Second Quarter of Two Thousand and Twenty Three Till the Third Quarter of Two Thousand and Twenty Three [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Maximum ratio of consolidated debt to earnings before interest tax depreciation and amortization | | | | | | | 7.25 | | | | | |
Wholly Owned Subsidiaries [Member] | Term Loan Facility as per Amendment Agreement One [Member] | From the Fourth Quarter of Two Thousand and Twenty Three Till the First Quarter of Two Thousand and Twenty Four [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Maximum ratio of consolidated debt to earnings before interest tax depreciation and amortization | | | | | | | 7 | | | | | |
Wholly Owned Subsidiaries [Member] | Term Loan Facility as per Amendment Agreement One [Member] | From the Second Quarter of Two Thousand and Twenty Four Till First Quarter of Thousand and Twenty Five [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Maximum ratio of consolidated debt to earnings before interest tax depreciation and amortization | | | | | | | 6.75 | | | | | |
Wholly Owned Subsidiaries [Member] | Term Loan Facility as per Amendment Agreement One [Member] | From the Second Quarter of Two Thousand and Twenty Five Till the First Quarter of Two Thousand and Twenty Six [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Maximum ratio of consolidated debt to earnings before interest tax depreciation and amortization | | | | | | | 6.5 | | | | | |
Wholly Owned Subsidiaries [Member] | Term Loan Facility as per Amendment Agreement One [Member] | From the First Quarter of Two Thousand and Twenty Seven and Thereafter [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Maximum ratio of consolidated debt to earnings before interest tax depreciation and amortization | | | | | | | 6 | | | | | |
Wholly Owned Subsidiaries [Member] | Term Loan Facility as per Amendment Agreement One [Member] | From the Second Quarter of Two Thousand and Twenty Six Till the Fourth Quarter of Two Thousand and Twenty Six [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Maximum ratio of consolidated debt to earnings before interest tax depreciation and amortization | | | | | | | 6.25 | | | | | |
Wholly Owned Subsidiaries [Member] | Term Loan Facility as per Amendment Agreement One [Member] | Alternate Base Rate for Alternate Base Rate Loans and Eurocurrency Loans [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Long term debt base rate percentage | 7% | | | | 7% | | 7% | | | | | |
Wholly Owned Subsidiaries [Member] | Term Loan Facility as per Amendment Agreement One [Member] | Base Rate [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Long term debt base rate percentage | 6% | | | | 6% | | 6% | | | | | |
Wholly Owned Subsidiaries [Member] | Asset Based Credit Facility [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Increase in the line of credit | | | 225,000 | $ 225,000 | | | | | | | | |
Line of credit maximum borrowing capacity | | | | | | | | | | | | $ 1,875,000 |
Minimum fixed charge coverage ratio | | | | | | | | | 1.1 | | | |
Wholly Owned Subsidiaries [Member] | Asset Based Credit Facility [Member] | Until the First Quarter of 2023 [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Maximum ratio of consolidated debt to earnings before interest tax depreciation and amortization | | | | | | | | | 7.25 | | | |
Wholly Owned Subsidiaries [Member] | Asset Based Credit Facility [Member] | From the Second Quarter of Two Thousand and Twenty Three Till the Third Quarter of Two Thousand and Twenty Three [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Maximum ratio of consolidated debt to earnings before interest tax depreciation and amortization | | | | | | | | | 7 | | | |
Wholly Owned Subsidiaries [Member] | Asset Based Credit Facility [Member] | From the Fourth Quarter of Two Thousand and Twenty Three Till the First Quarter of Two Thousand and Twenty Four [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Maximum ratio of consolidated debt to earnings before interest tax depreciation and amortization | | | | | | | | | 6.75 | | | |
Wholly Owned Subsidiaries [Member] | Asset Based Credit Facility [Member] | From the Second Quarter of Two Thousand and Twenty Four and Thereafter [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Maximum ratio of consolidated debt to earnings before interest tax depreciation and amortization | | | | | | | | | 6.5 | | | |
Wholly Owned Subsidiaries [Member] | Asset Based Credit Facility [Member] | Third Amendment and Restated Credit Agreement [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Line of credit maximum borrowing capacity | | $ 2,050,000 | 2,050,000 | | | | | | $ 2,050,000 | | | |
Line of credit facility issuance costs gross | | | $ 13,200 | | | | | | | | | |
Write off debt issuance costs | | | | | | | $ 1,200 | | | | | |
Wholly Owned Subsidiaries [Member] | Asset Based Credit Facility [Member] | Fourth Amendment and Restated Credit Agreement [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Line of credit maximum borrowing capacity | | | | | | | | | | | $ 2,200,000 | |
Line of credit facility issuance costs gross | | | | | | | | | | | $ 31,800 | |
Interest expense | | | | | | | 4,200 | | | | | |
Payment of accrued interest | | | | | | | 4,200 | | | | | |
Maximum threshold limit value beyond which cash dominion is triggered | $ 200,000 | | | | $ 200,000 | | $ 200,000 | | | | | |
Percentage of aggregate commitments beyond which cash dominion is triggered | 10% | | | | 10% | | 10% | | | | | |
Wholly Owned Subsidiaries [Member] | Asset Based Credit Facility [Member] | Fourth Amendment and Restated Credit Agreement [Member] | Prime Rate [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Long term debt percentage bearing fixed rate | 10.25% | 9.50% | | | 10.25% | | 10.25% | | 9.50% | | | |
Debt instrument variable interest rate spread | 2% | 2% | | | | | | | | | | |
Wholly Owned Subsidiaries [Member] | Asset Based Credit Facility [Member] | Fourth Amendment and Restated Credit Agreement [Member] | Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate [Member] | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Long term debt percentage bearing variable rate | 8.34% | 7.60% | | | 8.34% | | 8.34% | | 7.60% | | | |
Debt instrument variable interest rate spread | | | | | | | 0.10% | | 0.10% | | | |
Debt instrument additional variable interest rate spread | | | | | | | 3% | | 3% | | | |