Income Taxes - Rollforward of Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
Aug. 31, 2024 |
|
| Unrecognized Tax Benefits [Roll Forward] | |||
| Balance at beginning of period | $ 96,549 | $ 65,115 | $ 125,853 |
| Additions attributable to current year tax positions | 39,619 | 3,440 | 2,027 |
| Additions attributable to prior year tax positions | 2,199 | 27,994 | 32,569 |
| Reductions attributable to prior year tax positions | 0 | 0 | (85,513) |
| Reductions attributable to statute expiration | 0 | 0 | (9,821) |
| Balance at end of period | $ 138,367 | $ 96,549 | $ 65,115 |
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from lapses of applicable statutes of limitations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|