OTHER INCOME (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
May 31, 2026 |
May 31, 2025 |
May 31, 2026 |
May 31, 2025 |
|
| Other Income and Expenses [Abstract] | ||||
| Interest income | $ 344 | $ 170 | $ 899 | $ 483 |
| Change in fair valuation of contingent consideration | 0 | 0 | 0 | 640 |
| Gain (loss) on disposal of assets | 6 | (23) | 6 | (23) |
| (Loss) income on currency exchange | (43) | 35 | (85) | 22 |
| Total other income | $ 307 | $ 182 | $ 820 | $ 1,122 |
| X | ||||||||||
- Definition Amount of increase (decrease) in value of asset in contingent consideration arrangement in business combination. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, before tax, of realized gain (loss) from foreign currency transaction. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of gain (loss) on sale or disposal of assets utilized in financial service operations. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| 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 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 | ||||||||||
- References No definition available.
|