XML 53 R45.htm IDEA: XBRL DOCUMENT
v3.24.2

Fair Value Measurements - Schedule of Assets or Liabilities Measured at Fair Value on a Recurring Basis (Details) - USD ($) $ in Thousands | May 25, 2024 | Aug. 26, 2023
--- | --- | ---
Assets: |  |
Short-term investments | $ 13,186 | $ 10,157
Fair Value, Measurements, Recurring |  |
Assets: |  |
Short-term investments | 13,186 | 10,157
Pension plan assets | 2,998 | 2,978
Non-qualified deferred compensation plan assets | 3,131 | 2,024
Foreign currency forward contracts | 162 | 216
Total assets at fair value | 19,477 | 15,375
Liabilities: |  |
Non-qualified deferred compensation plan liability | 1,332 | 480
Total liabilities at fair value | 1,332 | 480
Fair Value, Measurements, Recurring | Level 1 |  |
Assets: |  |
Short-term investments | 0 | 0
Pension plan assets | 0 | 0
Non-qualified deferred compensation plan assets | 0 | 0
Foreign currency forward contracts | 0 | 0
Total assets at fair value | 0 | 0
Liabilities: |  |
Non-qualified deferred compensation plan liability | 0 | 0
Total liabilities at fair value | 0 | 0
Fair Value, Measurements, Recurring | Level 2 |  |
Assets: |  |
Short-term investments | 13,186 | 10,157
Pension plan assets | 2,998 | 2,978
Non-qualified deferred compensation plan assets | 3,131 | 2,024
Foreign currency forward contracts | 162 | 216
Total assets at fair value | 19,477 | 15,375
Liabilities: |  |
Non-qualified deferred compensation plan liability | 1,332 | 480
Total liabilities at fair value | 1,332 | 480
Fair Value, Measurements, Recurring | Level 3 |  |
Assets: |  |
Short-term investments | 0 | 0
Pension plan assets | 0 | 0
Non-qualified deferred compensation plan assets | 0 | 0
Foreign currency forward contracts | 0 | 0
Total assets at fair value | 0 | 0
Liabilities: |  |
Non-qualified deferred compensation plan liability | 0 | 0
Total liabilities at fair value | $ 0 | $ 0

X
- Definition Defined benefit plan fair value of non-qualified deferred compensation plan assets. + References No definition available. + Details
Name: | unf_DefinedBenefitPlanFairValueOfNonQualifiedDeferredCompensationPlanAssets
Namespace Prefix: | unf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Defined benefit plan fair value of non-qualified deferred compensation plan liability. + References No definition available. + Details
Name: | unf_DefinedBenefitPlanFairValueOfNonQualifiedDeferredCompensationPlanLiability
Namespace Prefix: | unf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount of asset segregated and restricted to provide benefit under defined benefit plan. Asset includes, but is not limited to, stock, bond, other investment, earning from investment, and contribution by employer and employee. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(02) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(ii) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(ii) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanFairValueOfPlanAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of asset contracts related to the exchange of different currencies, including, but not limited to, foreign currency options, forward contracts, and swaps. + References No definition available. + Details
Name: | us-gaap_ForeignCurrencyContractAssetFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of financial and nonfinancial obligations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_LiabilitiesFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Amount of investments including trading securities, available-for-sale securities, held-to-maturity securities, and short-term investments classified as other and current. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(8)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(5)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(4)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 + Details
Name: | us-gaap_ShortTermInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |