XML 74 R60.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Retirement Plans - Additional Information (Details) - USD ($) | 12 Months Ended |
--- | --- | ---
Dec. 30, 2023 | Dec. 31, 2022
Retirement Plans [Abstract] |  |
Employer matching contribution per dollar | $ 0.50 |
Employer contribution matching, percentage | 6.00% |
Defined Benefit Plan, Benefit Obligation | $ 3,400,000 |
Retirement Plans, Accumulated Benefit Obligation | $ 26,700,000 | $ 22,700,000
Vesting percentage | 100.00% |
Service period to be fully vested | 3 years |
Estimated payments in next year | $ 1,000,000.0 |

X
- Definition Minimum period the individual is required to perform services to be fully vested under the deferred compensation arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 710 -SubTopic 10 -Section 55 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482943/710-10-55-7 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualRequisiteServicePeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of actuarial present value of benefits attributed to service rendered by employee for defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanBenefitObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of benefit for defined benefit plan expected to be paid in next fiscal year following current fiscal year. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of employer's matching contributions to a defined contribution plan that vests in a given year. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployersMatchingContributionAnnualVestingPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition The amount per dollar of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | wmk_DefinedContributionPlanEmployerMatchingContributionPerDollarOfEmployeesEligiblePay
Namespace Prefix: | wmk_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition This represents the present value of the accumulated benefits of the Company's non-qualified supplemental executive retirement plan (SERP) and the non-qualified deferred compensation plan for pharmacists , which are recognized in the balance sheet as a noncurrent liability. Both the SERP and the deferred compensation plan for pharmacists are designed to provide retirement benefits and salary deferral opportunities because of limitations imposed by the Internal Revenue Code and the Regulations implemented by the Internal Revenue Service. The plans are unfunded and accounted for on an accrual basis. + References No definition available. + Details
Name: | wmk_RetirementPlansAccumulatedBenefitObligation
Namespace Prefix: | wmk_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant