INCOME TAXES - Significant Components of Deferred Tax Assets and Liabilities (Details) - USD ($) $ in Thousands |
Aug. 31, 2026 |
Aug. 31, 2025 |
|---|---|---|
| Deferred tax assets: | ||
| Lease liabilities | $ 34,170 | $ 35,352 |
| Stock-based compensation | 44,355 | 36,675 |
| Capitalization of R&D costs | 188,556 | 143,829 |
| NOL carryforward | 27,602 | 7,930 |
| Foreign tax credit carryforward | 22,543 | 8,251 |
| Other | 26,189 | 23,612 |
| Total deferred tax assets | 343,415 | 255,649 |
| Deferred tax liabilities: | ||
| Depreciation on PPE | (43,968) | (41,432) |
| Purchased intangible assets, including acquired technology | (165,952) | (141,566) |
| Lease ROU assets | (19,686) | (18,184) |
| Investment in subsidiary | (16,734) | 0 |
| Section 481(a) adjustment | (19,321) | 0 |
| Other | (8,038) | (5,393) |
| Total deferred tax liabilities | (273,699) | (206,575) |
| Deferred tax assets (liabilities), net | 69,716 | 49,074 |
| Valuation allowance | (6,445) | (2,750) |
| Total deferred tax assets (liabilities), net | $ 63,271 | $ 46,324 |
| X | ||||||||||
- Definition Deferred Tax Assets (Liabilities), Gross No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Assets, Operating Lease Liabilities No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liabilities, Investment In Subsidiary No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liability, Adjustments No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary difference from in-process research and development cost acquired in business combination or from joint venture formation or both. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible foreign operating loss carryforwards. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible foreign tax credit carryforwards. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from share-based compensation. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from intangible assets other than goodwill. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from leasing arrangements. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences classified as other. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from property, plant, and equipment. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|