XML 86 R70.htm IDEA: XBRL DOCUMENT v3.23.3
INCOME TAXES - Reconciliation of Unrecognized Tax Benefits (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2023
Aug. 31, 2022
Aug. 31, 2021
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]      
Balance $ 20,171 $ 14,870 $ 12,331
Additions based on tax positions related to the current year 4,372 7,959 4,259
Release for tax positions of prior years (3,490) (2,658) (1,720)
Balance 21,053 20,171 14,870
Accrued interest $ 1,600 $ 1,400 $ 1,300