Acquisitions - Schedule of Purchase Price Allocation for Other Acquisitions (Details) - USD ($) $ in Thousands |
May 31, 2026 |
May 31, 2025 |
May 31, 2024 |
|---|---|---|---|
| Business Combination [Line Items] | |||
| Net goodwill recognized | $ 3,544,212 | $ 3,400,227 | $ 3,212,424 |
| Business Combination, Series of Individually Immaterial Business Combinations | |||
| Business Combination [Line Items] | |||
| Fair value of tangible assets acquired | 17,855 | 25,649 | |
| Fair value of service contracts acquired | 34,050 | 45,749 | |
| Fair value of other intangibles acquired | 3,283 | 9,309 | |
| Net goodwill recognized | 144,918 | 189,511 | |
| Total fair value of assets acquired | 200,106 | 270,218 | |
| Total fair value of liabilities assumed | (7,496) | (3,541) | |
| Total fair value of net assets acquired, net of cash acquired | 192,610 | 266,677 | |
| Deferred purchase price consideration | (28,062) | (33,778) | |
| Total cash consideration for acquisitions, net of cash acquired | $ 164,548 | $ 232,899 |
| X | ||||||||||
- Definition Business Combination, Recognized Identifiable Assets Acquired And Liabilities Assumed, Assets Acquired Including Goodwill No definition available.
|
| X | ||||||||||
- Definition Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Intangible Assets No definition available.
|
| X | ||||||||||
- Definition Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Tangible Assets No definition available.
|
| X | ||||||||||
- Definition Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Cash Consideration, Net No definition available.
|
| X | ||||||||||
- Definition Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Deferred Purchase Price Consideration No definition available.
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of identifiable finite-lived intangible asset acquired in business combination and recognized at acquisition date. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of liability assumed in business combination and recognized at acquisition date. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of asset acquired in excess of (less than) liability assumed plus goodwill in business combination and recognized at acquisition date. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, after accumulated impairment loss, of asset representing future economic benefit arising from other asset acquired in business combination or from joint venture formation or both, that is not individually identified and separately recognized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|