Long-Term Debt - Additional Information (Detail) - USD ($) $ in Thousands | | | | | 9 Months Ended | | |
Oct. 14, 2022 | Oct. 13, 2022 | Sep. 24, 2021 | Feb. 16, 2016 | Sep. 30, 2023 | Dec. 31, 2022 | Oct. 31, 2019 |
Line of Credit Facility [Line Items] | | | | | | | |
Face value of debt outstanding | | | | | $ 640,000 | $ 651,352 | |
Letters of credit outstanding | | | | | 8,500 | | |
Martin Acquisition [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Cash payment to acquire business | $ 188,538 | $ 98,400 | | | | | |
Fair value of consideration | 188,538 | | | | | | |
Cash On Hand [Member] | Martin Acquisition [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Cash payment to acquire business | 89,400 | | | | | | |
Previously Reported [Member] | Martin Acquisition [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Cash payment to acquire business | 187,794 | | | | | | |
Fair value of consideration | 187,794 | | | | | | |
SPA [Member] | Martin Acquisition [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Fair value of consideration | 188,500 | | | | | | |
Fair value of consideration | 187,800 | | | | | | |
Term Loans [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Payments of term loan | 61,600 | | | | | | |
Prepayments of term loan | 60,000 | | | | | | |
Fees and costs relating to prepayment of term loan | 1,600 | | | | | | |
2016 Credit Agreement Due 2024 [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Prepayment of term loan | | | | | 60,000 | | |
2016 Credit Agreement Due 2027 [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Face value of debt outstanding | | | | | $ 65,000 | $ 76,352 | |
Debt instrument, covenant compliance | | | | | the ability of the Company and any guarantors to, (i) incur additional indebtedness; (ii) pay dividends on or make distributions in respect of capital stock or make certain other restricted payments or investments; (iii) sell or otherwise dispose of assets; (iv) enter into transactions with affiliates; (v) create or incur liens; (vi) merge, consolidate or sell all or substantially all of the Company’s assets; (vii) place restrictions on the ability of subsidiaries to pay dividends or make other payments to the Company; (viii) make investments and (ix) designate the Company’s subsidiaries as unrestricted subsidiaries. These covenants are subject to a number of important exceptions and qualifications. | | |
Credit agreement date | | | | Feb. 16, 2016 | | | |
2016 Credit Agreement Due 2027 [Member] | Martin Acquisition [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Cash payment to acquire business | | 98,400 | | | | | |
2016 Credit Agreement Due 2027 [Member] | Cash On Hand [Member] | Martin Acquisition [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Cash payment to acquire business | 90,100 | | | | | | |
2016 Credit Agreement Due 2027 [Member] | Maximum [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Threshold net leverage ratio | | | | | 4 | | |
2016 Credit Agreement Due 2027 [Member] | Minimum [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Threshold net leverage ratio | | | | | 1 | | |
New Revolving Credit Facility [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Face value of debt outstanding | | 250,000 | | | $ 65,000 | | |
Proceeds from lines of credit | | $ 160,000 | | | | | |
Repayments of term loan | | | | | 95,000 | | |
Accrued interest | | | | | 252 | | |
Term of credit facility | | 5 years | | | | | |
Credit available under the credit facility | | | | | $ 176,500 | | |
New Revolving Credit Facility [Member] | Martin Acquisition [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Face value of debt outstanding | 250,000 | | | | | | |
Proceeds from lines of credit | 160,000 | | | | | | |
Cash payment to acquire business | $ 98,400 | | | | | | |
New Revolving Credit Facility [Member] | Maximum [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Credit facility amortization percentage | | 0.35% | | | | | |
New Revolving Credit Facility [Member] | Minimum [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Credit facility amortization percentage | | 0.25% | | | | | |
New Revolving Credit Facility [Member] | Base Rate [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Basis points, floor | | 100% | | | | | |
New Revolving Credit Facility [Member] | Base Rate [Member] | Maximum [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Basis spread on LIBOR | | 1.75% | | | | | |
New Revolving Credit Facility [Member] | Base Rate [Member] | Minimum [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Basis spread on LIBOR | | 0.75% | | | | | |
New Revolving Credit Facility [Member] | SOFR [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Basis points, floor | | 0% | | | | | |
New Revolving Credit Facility [Member] | SOFR [Member] | Maximum [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Basis spread on LIBOR | | 2.75% | | | | | |
New Revolving Credit Facility [Member] | SOFR [Member] | Minimum [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Basis spread on LIBOR | | 1.75% | | | | | |
Term Loan Facility [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Proceeds from lines of credit | | $ 160,000 | | | | | |
Proceeds of term loan | | 61,600 | | | | | |
Repayments of term loan | | 60,000 | | | | | |
Fees and costs relating to prepayment of term loan | | $ 1,600 | | | | | |
Revolving Credit Facility [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Weighted average interest rate | | | | | 7.01% | 6.07% | |
Revolving Credit Facility due 2024 [Member] | Maximum [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Face value of debt outstanding | | | | | | | $ 80,000 |
Revolving Credit Facility Due Two Thousand Twenty Seven [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Face value of debt outstanding | | | | | $ 250,000 | | |
2018 Senior Notes due 2026 [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Debt instrument, face amount | | | | | 425,000 | | |
Repayments of debt | | | | | $ 425,000 | | |
Repurchase notes percentage of aggregate principal amount | | | | | 5.063% | | |
Prepayment of term loan | | | | | $ 21,500 | | |
2021 Senior Notes Due 2029 [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Long-term debt | | | $ 575,000 | | | | |
Accrued Interest rate | | | 4.375% | | | | |
Percentage of principal amount issued | | | 100% | | | | |
Debt instrument, maturity date | | | Oct. 01, 2029 | | | | |
Financing Costs | | | $ 8,700 | | | | |
Percentage of lender spread on principal amount | | | 1.25% | | | | |
Financing costs lender spread | | | $ 7,200 | | | | |
Financing costs other | | | $ 1,500 | | | | |
Face value of debt outstanding | | | | | 575,000 | | |
Accrued interest | | | | | $ 12,600 | | |
Repurchase notes percentage of aggregate principal amount | | | | | 101% | | |
2021 Senior Notes Due 2029 [Member] | Prior to October 1, 2024 [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Basis points, floor | | | | | 50% | | |
2021 Senior Notes Due 2029 [Member] | On or After August 1, 2024 [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Debt instrument, redemption percentage | | | | | 102.188% | | |
2021 Senior Notes Due 2029 [Member] | On or After August 2025 [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Debt instrument, redemption percentage | | | | | 101.094% | | |
2021 Senior Notes Due 2029 [Member] | On or After August 1, 2026 [Member] | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | |
Debt instrument, redemption percentage | | | | | 100% | | |