Debt - Additional Information (Details) | | | 1 Months Ended | 3 Months Ended | 6 Months Ended | | | |
Jun. 30, 2022 USD ($) | Sep. 03, 2021 USD ($) | Mar. 31, 2019 USD ($) | Oct. 31, 2018 | Mar. 31, 2018 USD ($) | Aug. 31, 2017 USD ($) | Mar. 31, 2017 USD ($) | Jun. 30, 2022 USD ($) | Jun. 30, 2021 USD ($) | Jun. 30, 2022 USD ($) | Jun. 30, 2021 USD ($) | Jun. 30, 2023 | Mar. 31, 2023 | Dec. 31, 2021 USD ($) |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Loss on debt extinguishment | | | | | | | | | | | $ 797,000 | | | |
Borrowing from line of credit | | | | | | | | | | $ 403,000,000 | | | | |
Carrying value of term loan | $ 245,084,000 | | | | | | | $ 245,084,000 | | 245,084,000 | | | | $ 247,651,000 |
First Lien Term Loan | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Principal amount | | | | | | $ 235,000,000 | | | | | | | | |
Debt instrument, maturity date | | | | | | Aug. 28, 2024 | | | | | | | | |
Increase in Principal amount | | | $ 115,000,000 | | $ 115,000,000 | | $ 10,000,000 | | | | | | | |
Voluntary Prepayment of debt | | | | | | | | | | | 53,000,000 | | | |
Loss on debt extinguishment | | | | | | | | | $ 358,000 | | $ 797,000 | | | |
Effective interest rate | | | | | | | | | 6.46% | | 6.45% | | | |
First Lien Term Loan | Federal Funds Effective Rate | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | | | 0.50% | | | | | | | | |
First Lien Term Loan | One Month LIBOR | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | | | 1% | | | | | | | | |
Debt instrument, maturity period of variable rate basis | | | | | | 1 month | | | | | | | | |
First Lien Term Loan | 2%, Plus Margin Rate | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | | | 3.50% | | | | | | | | |
Debt instrument, interest rate | | | | | | 2% | | | | | | | | |
First Lien Term Loan | 1%, Plus Margin Rate | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | | | 4.50% | | | | | | | | |
Debt instrument, interest rate | | | | | | 1% | | | | | | | | |
Revolving Credit Facility | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Principal amount | | | | | | $ 50,000,000 | | | | | | | | |
Debt instrument, maturity date | | | | | | Aug. 28, 2022 | | | | | | | | |
Revolving Credit Facility | Federal Funds Effective Rate | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | | | 0.50% | | | | | | | | |
Revolving Credit Facility | One Month LIBOR | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | | | 1% | | | | | | | | |
Debt instrument, maturity period of variable rate basis | | | | | | 1 month | | | | | | | | |
Revolving Credit Facility | 2%, Plus Margin Rate | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | | | 3.50% | | | | | | | | |
Debt instrument, interest rate | | | | | | 2% | | | | | | | | |
Revolving Credit Facility | 1%, Plus Margin Rate | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | | | 4.50% | | | | | | | | |
Debt instrument, interest rate | | | | | | 1% | | | | | | | | |
Revolving Credit Facility | Base Rate | Minimum | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | 2.75% | | | | | | | | | | |
Revolving Credit Facility | Base Rate | Maximum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | 3.25% | | | | | | | | | | |
Revolving Credit Facility | Eurodollar | Minimum | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | 3.75% | | | | | | | | | | |
Revolving Credit Facility | Eurodollar | Maximum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | 4.25% | | | | | | | | | | |
First Lien Term Loan Amendment | Base Rate | Minimum | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | 2.75% | | | | | | | | | | |
First Lien Term Loan Amendment | Base Rate | Maximum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | 3.25% | | | | | | | | | | |
First Lien Term Loan Amendment | Eurodollar | Minimum | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | 3.75% | | | | | | | | | | |
First Lien Term Loan Amendment | Eurodollar | Maximum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | | | 4.25% | | | | | | | | | | |
Revolving Credit Facility Under Credit Agreement | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Principal amount | | $ 100,000,000 | | | | | | | | | | | | |
Credit facility, expiration period | | 5 years | | | | | | | | | | | | |
Credit facility, expiration month and year | | 2026-09 | | | | | | | | | | | | |
Outstanding borrowing balance | $ 0 | | | | | | | 0 | | 0 | | | | 0 |
Revolving Credit Facility Under Credit Agreement | Minimum | Forecast | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Consolidated interest coverage ratio | | | | | | | | | | | | 3 | | |
Revolving Credit Facility Under Credit Agreement | Maximum [Member] | Forecast | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Consolidated total net leverage ratio | | | | | | | | | | | | | 3.50 | |
Consolidated interest coverage ratio | | | | | | | | | | | | 3.50 | | |
Revolving Credit Facility Under Credit Agreement | One Month LIBOR | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | 1% | | | | | | | | | | | | |
Debt instrument, maturity period of variable rate basis | | 1 month | | | | | | | | | | | | |
Revolving Credit Facility Under Credit Agreement | One Month LIBOR | Minimum | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | 0.25% | | | | | | | | | | | | |
Revolving Credit Facility Under Credit Agreement | One Month LIBOR | Maximum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | 1% | | | | | | | | | | | | |
Revolving Credit Facility Under Credit Agreement | LIBOR | Minimum | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | 1.25% | | | | | | | | | | | | |
Revolving Credit Facility Under Credit Agreement | LIBOR | Maximum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | 2% | | | | | | | | | | | | |
Revolving Credit Facility Under Credit Agreement | Federal Funds Rate | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | 0.50% | 0.50% | | | | | | | | | | | | |
Revolving Credit Facility Under Credit Agreement | BSBY | Minimum | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | 1.25% | | | | | | | | | | | | | |
Revolving Credit Facility Under Credit Agreement | BSBY | Maximum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | 2.25% | | | | | | | | | | | | | |
Revolving Credit Facility Under Credit Agreement | One-Month BSBY | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | 1% | | | | | | | | | | | | | |
Debt instrument, maturity period of variable rate basis | 1 month | | | | | | | | | | | | | |
Revolving Credit Facility Under Credit Agreement | One-Month BSBY | Minimum | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | 0.25% | | | | | | | | | | | | | |
Revolving Credit Facility Under Credit Agreement | One-Month BSBY | Maximum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | 1.25% | | | | | | | | | | | | | |
Term Loan | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Principal amount | | $ 250,000,000 | | | | | | | | | | | | |
Credit facility, expiration period | | 5 years | | | | | | | | | | | | |
Credit facility, expiration month and year | | 2026-09 | | | | | | | | | | | | |
Carrying value of term loan | $ 245,100,000 | | | | | | | 245,100,000 | | 245,100,000 | | | | $ 247,700,000 |
Term Loan | (Level 2) | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Estimated fair value of term loan | $ 240,400,000 | | | | | | | $ 240,400,000 | | $ 240,400,000 | | | | |
Term Loan | One Month LIBOR | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | 1% | | | | | | | | | | | | |
Debt instrument, maturity period of variable rate basis | | 1 month | | | | | | | | | | | | |
Term Loan | One Month LIBOR | Minimum | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | 0.25% | | | | | | | | | | | | |
Term Loan | One Month LIBOR | Maximum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | 1% | | | | | | | | | | | | |
Term Loan | LIBOR | Minimum | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | 1.25% | | | | | | | | | | | | |
Term Loan | LIBOR | Maximum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | | 2% | | | | | | | | | | | | |
Term Loan | Federal Funds Rate | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | 0.50% | 0.50% | | | | | | | | | | | | |
Term Loan | BSBY | Minimum | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | 1.25% | | | | | | | | | | | | | |
Term Loan | BSBY | Maximum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | 2.25% | | | | | | | | | | | | | |
Term Loan | One-Month BSBY | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | 1% | | | | | | | | | | | | | |
Debt instrument, maturity period of variable rate basis | 1 month | | | | | | | | | | | | | |
Term Loan | One-Month BSBY | Minimum | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | 0.25% | | | | | | | | | | | | | |
Term Loan | One-Month BSBY | Maximum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt instrument, variable rate | 1.25% | | | | | | | | | | | | | |
Credit Agreement | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Effective interest rate | | | | | | | | 2.13% | | 1.81% | | | | |
Credit facility, incremental maximum aggregate principal amount | | $ 250,000,000 | | | | | | | | | | | | |
Borrowing from line of credit | | 248,500,000 | | | | | | | | | | | | |
Debt discount | | $ 1,500,000 | | | | | | | | | | | | |
Increase in interest rate upon certain events of default | | 2% | | | | | | | | | | | | |
Credit Agreement | Minimum | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Consolidated interest coverage ratio | | 3 | | | | | | | | | | | | |
Credit Agreement | Maximum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Consolidated total net leverage ratio | | 3 | | | | | | | | | | | | |