XML 76 R60.htm IDEA: XBRL DOCUMENT
v3.24.3

Income Taxes - Narrative (Details) - USD ($) $ in Thousands | 1 Months Ended |  |  |
--- | --- | --- | --- | ---
Oct. 31, 2021 | Aug. 31, 2024 | Aug. 26, 2023 | Aug. 27, 2022
Income Tax Disclosure [Abstract] |  |  |  |
Global minimum corporate tax rate | 15.00% |  |  |
Unrecognized tax benefits |  | $ 4,638 | $ 7,751 | $ 6,417
Total unrecognized tax benefits |  | $ 4,500 | $ 7,100 |

X
- Definition Global minimum corporate tax rate + References No definition available. + Details
Name: | unf_GlobalMinimumCorporateTaxRate
Namespace Prefix: | unf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_IncomeTaxDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 10B -Publisher FASB -URI https://asc.fasb.org//1943274/2147482525/740-10-45-10B + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15A + Details
Name: | us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant