Segment Reporting - Schedule of Information on Net Revenue, Significant Expenses and Net Income for Single Reportable Segment (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||||||
|---|---|---|---|---|---|---|---|---|
May 31, 2026 |
May 31, 2025 |
May 31, 2026 |
May 31, 2025 |
|||||
| Segment Reporting [Abstract] | ||||||||
| Net revenue | $ 271,801 | $ 271,703 | $ 756,289 | $ 749,801 | ||||
| Costs and expenses: | ||||||||
| Compensation and related costs | [1] | 115,580 | 106,036 | 361,665 | 310,731 | |||
| Advertising | 47,705 | 41,148 | 139,013 | 130,892 | ||||
| Provision for credit losses on accounts receivable | 8,510 | 12,531 | 24,585 | 35,885 | ||||
| Strategic alternatives, restructuring and other | 11,937 | 6,837 | 31,673 | 17,886 | ||||
| Other | [2] | 36,243 | 34,051 | 107,927 | 103,974 | |||
| Total costs and expenses | 219,975 | 200,603 | 664,863 | 599,368 | ||||
| Operating income | 51,826 | 71,100 | 91,426 | 150,433 | ||||
| Interest income | 2,183 | 2,278 | 5,720 | 8,334 | ||||
| Interest expense | (651) | (107) | (1,416) | (332) | ||||
| Income before income taxes | 53,358 | 73,271 | 95,730 | 158,435 | ||||
| Provision for income taxes | 14,452 | 18,622 | 30,877 | 40,564 | ||||
| Net Income | $ 38,906 | $ 54,649 | $ 64,853 | $ 117,871 | ||||
| ||||||||
| X | ||||||||||
- Definition Strategic alternatives, restructuring and other. No definition available.
|
| X | ||||||||||
- Definition Amount charged to advertising expense for the period, which are expenses incurred with the objective of increasing revenue for a specified brand, product or product line. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Total costs of sales and operating expenses for the period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| 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/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of interest expense classified as nonoperating. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition The net result for the period of deducting operating expenses from operating revenues. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of expense classified as other. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of expense (reversal of expense) for expected credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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/exampleRef
|
| X | ||||||||||
- References No definition available.
|