Leases - Additional Information (Detail) |
12 Months Ended |
|---|---|
May 31, 2026 | |
| Lessee Lease Description [Line Items] | |
| Lessee, operating lease, option to extend description | Some leases include one or more options to renew, generally at our sole discretion, with renewal terms that can extend the lease term from one to five years or more. |
| Lessee, operating lease, existence of option to extend | true |
| Lessee, operating lease, option to terminate description | In addition, certain leases contain termination options, where the rights to terminate are held by either us, the lessor, or both parties. |
| Lessee, operating lease, existence of option to terminate | true |
| Minimum | |
| Lessee Lease Description [Line Items] | |
| Lessee, operating lease, renewal term | 1 year |
| Maximum | |
| Lessee Lease Description [Line Items] | |
| Lessee, operating lease, renewal term | 5 years |