SEGMENT INFORMATION - Schedule of Results of Operations and Assets (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
May 31, 2026 |
May 31, 2025 |
May 31, 2026 |
May 31, 2025 |
|
| Revenues | $ 622,918 | $ 585,520 | $ 1,841,558 | $ 1,724,847 |
| Operating expenses | 456,617 | 391,365 | 1,298,225 | 1,153,865 |
| Operating income | 166,301 | 194,155 | 543,333 | 570,982 |
| Total other income (expense), net | (12,180) | (14,207) | (37,988) | (38,975) |
| Income before income taxes | 154,121 | 179,948 | 505,345 | 532,007 |
| Other segment disclosures | ||||
| Depreciation and amortization | 45,870 | 40,845 | 133,708 | 114,972 |
| Stock-based compensation | 22,217 | 17,015 | 61,541 | 47,154 |
| Capital expenditures | 30,475 | 25,230 | 87,319 | 74,840 |
| Americas | ||||
| Revenues | 407,240 | 380,501 | 1,203,099 | 1,117,404 |
| Operating expenses | 343,653 | 298,936 | 986,778 | 880,914 |
| Operating income | 63,587 | 81,565 | 216,321 | 236,490 |
| Other segment disclosures | ||||
| Depreciation and amortization | 41,859 | 36,876 | 120,946 | 103,582 |
| Stock-based compensation | 17,920 | 13,497 | 49,417 | 36,831 |
| Capital expenditures | 27,044 | 21,781 | 73,482 | 68,809 |
| EMEA | ||||
| Revenues | 151,940 | 145,741 | 450,577 | 432,853 |
| Operating expenses | 93,758 | 76,714 | 257,999 | 224,220 |
| Operating income | 58,182 | 69,027 | 192,578 | 208,633 |
| Other segment disclosures | ||||
| Depreciation and amortization | 2,010 | 1,998 | 6,610 | 5,675 |
| Stock-based compensation | 2,897 | 2,360 | 8,132 | 6,887 |
| Capital expenditures | 3,157 | 920 | 10,609 | 1,412 |
| Asia Pacific | ||||
| Revenues | 63,738 | 59,278 | 187,882 | 174,590 |
| Operating expenses | 19,206 | 15,715 | 53,448 | 48,731 |
| Operating income | 44,532 | 43,563 | 134,434 | 125,859 |
| Other segment disclosures | ||||
| Depreciation and amortization | 2,001 | 1,971 | 6,152 | 5,715 |
| Stock-based compensation | 1,400 | 1,158 | 3,992 | 3,436 |
| Capital expenditures | $ 274 | $ 2,529 | $ 3,228 | $ 4,619 |
| X | ||||||||||
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Total costs of sales and operating expenses for the period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The net result for the period of deducting operating expenses from operating revenues. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of expenditure for addition to long-lived asset included in determination of segment asset by chief operating decision maker (CODM) or otherwise regularly provided to CODM. Long-lived asset excludes financial instrument, long-term customer relationship of financial institution, mortgage and other servicing rights, deferred policy acquisition cost, and deferred tax asset. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|