Earnings (Loss) Per Share - Narrative (Details) - USD ($) shares in Millions, $ in Millions |
3 Months Ended | |
---|---|---|
Aug. 31, 2025 |
Aug. 31, 2024 |
|
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
Antidilutive shares excluded from calculation of earnings per share (in shares) | 1.6 | 1.7 |
Remaining authorized stock repurchase amount | $ 70.0 | |
Stock option expense | ||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
Antidilutive shares excluded from calculation of earnings per share (in shares) | 2.6 | |
Restricted Stock Units (RSUs) | ||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
Antidilutive shares excluded from calculation of earnings per share (in shares) | 0.5 |