Funds Held for Clients and Corporate Investments (Realized Gains and Losses from Sale of Available-for-sale Securities) (Details) - USD ($) $ in Millions  | 
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Feb. 28, 2022  | 
Feb. 28, 2021  | 
Feb. 28, 2022  | 
Feb. 28, 2021  | 
|
| Funds Held for Clients and Corporate Investments [Abstract] | ||||
| Gross realized gains | $ 0.0 | $ 0.3 | $ 0.1 | $ 1.0 | 
| Gross realized losses | 0.0 | 0.0 | ||
| Net realized gains | $ 0.0 | $ 0.3 | $ 0.1 | $ 1.0 | 
| X | ||||||||||
- Definition Funds held for clients and corporate investments. No definition available. 
  | 
| X | ||||||||||
- Definition Amount of realized gain on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
  | 
| X | ||||||||||
- Definition Amount of realized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  |