Financing Agreements - Narrative (Details) € in Millions | Jun. 16, 2020USD ($) | Mar. 31, 2022 | Dec. 31, 2021 | Sep. 30, 2021 | Jun. 30, 2021 | Jun. 30, 2020USD ($) | Dec. 31, 2019 | Jun. 30, 2019 | Sep. 30, 2021 | Jun. 30, 2020USD ($)Rate | Jun. 30, 2019USD ($) | Sep. 15, 2020 | Jun. 30, 2020EUR (€) | May 19, 2020USD ($) | Jan. 10, 2020EUR (€) | Sep. 30, 2019USD ($) |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Issuance Costs, Line of Credit Arrangements, Gross | | | | | | $ 2,000,000 | | | | $ 2,000,000 | | | | | | |
Long-term Debt | | | | | | 1,711,100,000 | | | | 1,711,100,000 | | | | | | $ 619,500,000 |
Maximum ratio of Indebtedness to EBITDA allowed | | | | | | | 4.75 | | | | | | | | | |
Debt Instrument, Covenant Terms, Minimum Ratio of Earnings before Interest, Taxes, Depreciation, and Amortization to Interest Expense | | | | | | | 3 | | | | | | | | | |
Amortization of deferred financing costs | | | | | | | | | | 2,500,000 | $ 900,000 | | | | | |
$500.0 term loan (1) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Issuance Costs, Line of Credit Arrangements, Gross | | | | | | 1,400,000 | | | | 1,400,000 | | | | | | |
Debt instrument, face amount | | | | | | 500,000,000 | | | | 500,000,000 | | | | | | |
Long-term Debt | | | | | | $ 479,900,000 | | | | $ 479,900,000 | | | | | | 0 |
Weighted average interest rates | | | | | | 2.59% | | | | 3.07% | | | | | | |
$225.0 term loan (4) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Issuance Costs, Line of Credit Arrangements, Gross | | | | | | $ 400,000 | | | | $ 400,000 | | | | | | |
Debt instrument, face amount | | | | | | 225,000,000 | | | | 225,000,000 | | | | | | |
Long-term Debt | | | | | | $ 216,200,000 | | | | $ 216,200,000 | | | | | | 0 |
Weighted average interest rates | | | | | | 2.46% | | | | 2.94% | | | | | | |
$900.0 revolving credit facility (excluding outstanding letters of credit) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Line of credit facility, maximum borrowing capacity | | | | | | $ 642,400,000 | | | | $ 642,400,000 | | | | | | |
Long-term Debt | | | | | | 0 | | | | 0 | | | | | | 0 |
Letters of Credit Outstanding, Amount | | | | | | 8,100,000 | | | | 8,100,000 | | | | | | |
Line of credit facility, remaining borrowing capacity | | | | | | $ 891,900,000 | | | | $ 891,900,000 | | | | | | |
Weighted average interest rates | | | | | | 2.59% | | 2.89% | | 2.78% | 2.66% | | | | | |
Weighted average facility fee | | | | | | 0.30% | | 0.13% | | 0.24% | 0.12% | | | | | |
$150.0 senior unsecured notes, net of discount (5) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Issuance Costs, Line of Credit Arrangements, Gross | | | | | | $ 3,900,000 | | | | $ 3,900,000 | | | | | | 4,300,000 |
Debt instrument, face amount | | | | | | 375,000,000 | | | | 375,000,000 | | | | | | |
Long-term Debt | | | | | | $ 370,600,000 | | | | $ 370,600,000 | | | | | | 370,100,000 |
Debt instrument, increase to coupon rate | | | | | | 0.0025 | | | | 0.0025 | | | 0.0025 | | | |
Debt instrument, original coupon rate | | | | | | 0.045 | | | | 0.045 | | | 0.045 | | | |
$150.0 senior unsecured notes, net of discount (5) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Issuance Costs, Line of Credit Arrangements, Gross | | | | | | | | | | | | | | | | 200,000 |
Debt instrument, face amount | | | | | | $ 150,000,000 | | | | $ 150,000,000 | | | | | | |
Long-term Debt | | | | | | 150,000,000 | | | | 150,000,000 | | | | | | 149,700,000 |
$100.0 Series A Notes (6) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Issuance Costs, Line of Credit Arrangements, Gross | | | | | | 300,000 | | | | 300,000 | | | | | | |
Long-term Debt | | | | | | 99,700,000 | | | | 99,700,000 | | | | | | 99,700,000 |
Other Financing Agreements | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Line of credit facility, maximum borrowing capacity | | | | | | 383,700,000 | | | | 383,700,000 | | | | | | |
Line of credit facility, amount utilized for bank guarantees | | | | | | 267,400,000 | | | | 267,400,000 | | | | | | |
Syndicated credit facility | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Line of credit facility, maximum borrowing capacity | € | | | | | | | | | | | | | € 150 | | | |
L/G Facility Agreement Amendment | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Line of credit facility, increase in maximum borrowing capacity | € | | | | | | | | | | | | | | | € 25 | |
$400.0 senior unsecured notes (2) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Issuance Costs, Line of Credit Arrangements, Gross | | | | | | 5,500,000 | | | | 5,500,000 | | | | | | |
Debt instrument, face amount | $ 400,000,000 | | | | | | | | | | | | | | | |
Long-term Debt | | | | | | 394,500,000 | | | | 394,500,000 | | | | | | $ 0 |
Debt interest rate | 5.75% | | | | | | | | | | | | | | | |
Amortization of deferred financing costs | $ 5,500,000 | | | | | | | | | | | | | | | |
Debt instrument, redemption price, percentage of principal amount redeemable | 101.00% | | | | | | | | | | | | | | | |
Amendment Of Credit Agreement, L/G Facility Agreement And The Shelf Agreement [Member] | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Amortization of deferred financing costs | | | | | | | | | | 3,600,000 | | | | | | |
Debt covenant, maximum cash or cash equivalents under each borrowing | | | | | | | | | | | | | | $ 350,000,000 | | |
Debt Instrument, Redemption, Period One [Member] | $500.0 term loan (1) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Instrument, Periodic Payment, Principal | | | | | | | | | | 0.05 | | | | | | |
Debt Instrument, Redemption, Period One [Member] | $225.0 term loan (4) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Instrument, Periodic Payment, Principal | | | | | | | | | | 0.05 | | | | | | |
Debt Instrument, Redemption, Period Three [Member] | $500.0 term loan (1) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Instrument, Periodic Payment, Principal | | | | | | | | | | 0.075 | | | | | | |
Debt Instrument, Redemption, Period Three [Member] | $225.0 term loan (4) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Instrument, Periodic Payment, Principal | | | | | | | | | | 0.075 | | | | | | |
Debt Instrument, Redemption, Period Five [Member] | $500.0 term loan (1) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Instrument, Periodic Payment, Principal | | | | | | | | | | $ 0.10 | | | | | | |
Base Rate [Member] | Minimum | $500.0 term loan (1) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | Rate | | | | | | | | | | 0.00% | | | | | | |
Base Rate [Member] | Minimum | $225.0 term loan (4) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | Rate | | | | | | | | | | 0.00% | | | | | | |
Base Rate [Member] | Maximum | $500.0 term loan (1) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | Rate | | | | | | | | | | 1.375% | | | | | | |
Base Rate [Member] | Maximum | $225.0 term loan (4) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | Rate | | | | | | | | | | 1.25% | | | | | | |
LIBO Rate [Member] | Minimum | $500.0 term loan (1) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | Rate | | | | | | | | | | 1.00% | | | | | | |
LIBO Rate [Member] | Minimum | $225.0 term loan (4) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | Rate | | | | | | | | | | 0.875% | | | | | | |
LIBO Rate [Member] | Maximum | $500.0 term loan (1) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | Rate | | | | | | | | | | 2.375% | | | | | | |
LIBO Rate [Member] | Maximum | $225.0 term loan (4) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | Rate | | | | | | | | | | 2.25% | | | | | | |
Milacron | Revolver [Member] | $900.0 revolving credit facility (excluding outstanding letters of credit) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Long-term Line of Credit | | | | | | $ 650,000,000 | | | | $ 650,000,000 | | | | | | |
Forecast [Member] | $150.0 senior unsecured notes, net of discount (5) | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Debt instrument, original coupon rate | | | | | | | | | | | | 0.050 | | | | |
Forecast [Member] | Amendment Of Credit Agreement, L/G Facility Agreement And The Shelf Agreement [Member] | | | | | | | | | | | | | | | | |
Debt instrument [Line Items] | | | | | | | | | | | | | | | | |
Maximum ratio of Indebtedness to EBITDA allowed | | 3.50 | 3.75 | 4 | 4.25 | | | | 4.75 | | | | | | | |