XML 67 R53.htm IDEA: XBRL DOCUMENT v3.25.1
Earnings (Loss) Per Share - Narrative (Details) - USD ($)
shares in Millions, $ in Millions
3 Months Ended 9 Months Ended
Feb. 28, 2025
Feb. 29, 2024
Feb. 28, 2025
Feb. 29, 2024
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive shares excluded from calculation of earnings per share (in shares) 1.9 1.1 1.7 0.7
Remaining authorized stock repurchase amount $ 46.6   $ 46.6  
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.7  
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