Other Financial Instruments and Fair Value Measurements - Narrative (Details) - USD ($) $ in Millions |
Apr. 30, 2026 |
Apr. 30, 2025 |
|---|---|---|
| Fair Value Disclosures [Abstract] | ||
| Company's Municipal bond mature in Year One | $ 4.0 | |
| Company's Municipal bond mature in Year Two | 0.4 | |
| Company's Municipal bond mature in Year Three | 2.0 | |
| Company's Municipal bond mature in Year Four | 0.6 | |
| Company's Municipal bond mature in Year Five | 1.1 | |
| Company's Municipal bond mature in Year Six and beyond | $ 5.9 | |
| Voortman | ||
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||
| Disposal Group, Including Discontinued Operation, Goodwill | $ 251.1 | |
| Sweet Baked Snacks Value Brands | ||
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||
| Disposal Group, Including Discontinued Operation, Goodwill | $ 26.6 |