Condensed Consolidated Balance Sheets (Parenthetical) - USD ($) shares in Thousands, $ in Thousands |
Nov. 30, 2021 |
Aug. 31, 2021 |
|---|---|---|
| Condensed Consolidated Balance Sheets [Abstract] | ||
| Allowance for doubtful accounts | $ 4,701 | $ 4,643 |
| Common stock, par value | $ 0.05 | $ 0.05 |
| Common stock, shares authorized | 40,000 | 40,000 |
| Common stock, shares issued | 27,056 | 27,056 |
| Treasury stock, shares | 12,757 | 12,889 |