CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY - USD ($) $ in Thousands | Total | Common Stock | Additional Paid-in Capital | Retained Earnings | Accumulated Other Comprehensive Income (Loss) | Treasury Stock |
Beginning balance (in shares) at Aug. 31, 2022 | | 19,888,807 | | | | |
Beginning balance at Aug. 31, 2022 | $ 188,624 | $ 20 | $ 165,973 | $ 456,076 | $ (36,209) | $ (397,236) |
Beginning balance (in shares) at Aug. 31, 2022 | | | | | | 6,286,461 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Issuance of common stock under share-based compensation plan, net of shares withheld for taxes (in shares) | | 7,670 | | | | |
Issuance of common stock under share-based compensation plan, net of shares withheld for taxes | (600) | | (600) | | | |
Stock-based compensation | 2,719 | | 2,719 | | | |
Cash dividends | (10,634) | | | (10,634) | | |
Repurchases of common stock (in shares) | | | | | | 22,420 |
Repurchases of common stock | (4,072) | | | | | $ (4,072) |
Foreign currency translation adjustment | 1,336 | | | | 1,336 | |
Net income | 13,997 | | | 13,997 | | |
Ending balance (in shares) at Nov. 30, 2022 | | 19,896,477 | | | | |
Ending balance at Nov. 30, 2022 | 191,370 | $ 20 | 168,092 | 459,439 | (34,873) | $ (401,308) |
Ending balance (in shares) at Nov. 30, 2022 | | | | | | 6,308,881 |
Beginning balance (in shares) at Aug. 31, 2022 | | 19,888,807 | | | | |
Beginning balance at Aug. 31, 2022 | 188,624 | $ 20 | 165,973 | 456,076 | (36,209) | $ (397,236) |
Beginning balance (in shares) at Aug. 31, 2022 | | | | | | 6,286,461 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Foreign currency translation adjustment | 3,299 | | | | | |
Net income | 49,418 | | | | | |
Ending balance (in shares) at May. 31, 2023 | | 19,896,477 | | | | |
Ending balance at May. 31, 2023 | 205,827 | $ 20 | 171,166 | 472,221 | (32,910) | $ (404,670) |
Ending balance (in shares) at May. 31, 2023 | | | | | | 6,328,131 |
Beginning balance (in shares) at Nov. 30, 2022 | | 19,896,477 | | | | |
Beginning balance at Nov. 30, 2022 | 191,370 | $ 20 | 168,092 | 459,439 | (34,873) | $ (401,308) |
Beginning balance (in shares) at Nov. 30, 2022 | | | | | | 6,308,881 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock-based compensation | 2,261 | | 2,261 | | | |
Cash dividends | (11,324) | | | (11,324) | | |
Repurchases of common stock (in shares) | | | | | | 9,250 |
Repurchases of common stock | (1,569) | | | | | $ (1,569) |
Foreign currency translation adjustment | 8 | | | | 8 | |
Net income | 16,526 | | | 16,526 | | |
Ending balance (in shares) at Feb. 28, 2023 | | 19,896,477 | | | | |
Ending balance at Feb. 28, 2023 | 197,272 | $ 20 | 170,353 | 464,641 | (34,865) | $ (402,877) |
Ending balance (in shares) at Feb. 28, 2023 | | | | | | 6,318,131 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock-based compensation | 813 | | 813 | | | |
Cash dividends | (11,315) | | | (11,315) | | |
Repurchases of common stock (in shares) | | | | | | 10,000 |
Repurchases of common stock | (1,793) | | | | | $ (1,793) |
Foreign currency translation adjustment | 1,955 | | | | 1,955 | |
Net income | 18,895 | | | 18,895 | | |
Ending balance (in shares) at May. 31, 2023 | | 19,896,477 | | | | |
Ending balance at May. 31, 2023 | $ 205,827 | $ 20 | 171,166 | 472,221 | (32,910) | $ (404,670) |
Ending balance (in shares) at May. 31, 2023 | | | | | | 6,328,131 |
Beginning balance (in shares) at Aug. 31, 2023 | 13,563,434 | 19,905,815 | | | | |
Beginning balance at Aug. 31, 2023 | $ 210,178 | $ 20 | 171,546 | 477,488 | (31,206) | $ (407,670) |
Beginning balance (in shares) at Aug. 31, 2023 | 6,342,381 | | | | | 6,342,381 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Issuance of common stock under share-based compensation plan, net of shares withheld for taxes (in shares) | | 5,680 | | | | |
Issuance of common stock under share-based compensation plan, net of shares withheld for taxes | $ (678) | | (678) | | | |
Stock-based compensation | 2,271 | | 2,271 | | | |
Cash dividends | (11,297) | | | (11,297) | | |
Repurchases of common stock (in shares) | | | | | | 11,500 |
Repurchases of common stock | (2,414) | | | | | $ (2,414) |
Foreign currency translation adjustment | 390 | | | | 390 | |
Net income | 17,482 | | | 17,482 | | |
Ending balance (in shares) at Nov. 30, 2023 | | 19,911,495 | | | | |
Ending balance at Nov. 30, 2023 | $ 215,932 | $ 20 | 173,139 | 483,673 | (30,816) | $ (410,084) |
Ending balance (in shares) at Nov. 30, 2023 | | | | | | 6,353,881 |
Beginning balance (in shares) at Aug. 31, 2023 | 13,563,434 | 19,905,815 | | | | |
Beginning balance at Aug. 31, 2023 | $ 210,178 | $ 20 | 171,546 | 477,488 | (31,206) | $ (407,670) |
Beginning balance (in shares) at Aug. 31, 2023 | 6,342,381 | | | | | 6,342,381 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Foreign currency translation adjustment | $ (94) | | | | | |
Net income | $ 52,860 | | | | | |
Ending balance (in shares) at May. 31, 2024 | 13,547,637 | 19,924,268 | | | | |
Ending balance at May. 31, 2024 | $ 222,242 | $ 20 | 174,177 | 495,109 | (31,300) | $ (415,764) |
Ending balance (in shares) at May. 31, 2024 | 6,376,631 | | | | | 6,376,631 |
Beginning balance (in shares) at Nov. 30, 2023 | | 19,911,495 | | | | |
Beginning balance at Nov. 30, 2023 | $ 215,932 | $ 20 | 173,139 | 483,673 | (30,816) | $ (410,084) |
Beginning balance (in shares) at Nov. 30, 2023 | | | | | | 6,353,881 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Issuance of common stock under share-based compensation plan, net of shares withheld for taxes (in shares) | | 8,554 | | | | |
Issuance of common stock under share-based compensation plan, net of shares withheld for taxes | (1,742) | | (1,742) | | | |
Stock-based compensation | 1,866 | | 1,866 | | | |
Cash dividends | (11,976) | | | (11,976) | | |
Repurchases of common stock (in shares) | | | | | | 11,500 |
Repurchases of common stock | (2,905) | | | | | $ (2,905) |
Foreign currency translation adjustment | (433) | | | | (433) | |
Net income | 15,536 | | | 15,536 | | |
Ending balance (in shares) at Feb. 29, 2024 | | 19,920,049 | | | | |
Ending balance at Feb. 29, 2024 | 216,278 | $ 20 | 173,263 | 487,233 | (31,249) | $ (412,989) |
Ending balance (in shares) at Feb. 29, 2024 | | | | | | 6,365,381 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Issuance of common stock under share-based compensation plan, net of shares withheld for taxes (in shares) | | 4,219 | | | | |
Issuance of common stock under share-based compensation plan, net of shares withheld for taxes | 0 | | 0 | | | |
Stock-based compensation | 914 | | 914 | | | |
Cash dividends | (11,966) | | | (11,966) | | |
Repurchases of common stock (in shares) | | | | | | 11,250 |
Repurchases of common stock | (2,775) | | | | | $ (2,775) |
Foreign currency translation adjustment | (51) | | | | (51) | |
Net income | $ 19,842 | | | 19,842 | | |
Ending balance (in shares) at May. 31, 2024 | 13,547,637 | 19,924,268 | | | | |
Ending balance at May. 31, 2024 | $ 222,242 | $ 20 | $ 174,177 | $ 495,109 | $ (31,300) | $ (415,764) |
Ending balance (in shares) at May. 31, 2024 | 6,376,631 | | | | | 6,376,631 |