XML 85 R70.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Retirement Plans - Additional Information (Details) - USD ($) | 12 Months Ended |
--- | --- | ---
Dec. 28, 2024 | Dec. 30, 2023
Retirement Plans |  |
Employer matching contribution per dollar | $ 0.5 |
Employer contribution matching, percentage | 6.00% |
Vesting percentage | 100.00% |
Service period to be fully vested | 3 years |
Retirement Plans, Accumulated Benefit Obligation | $ 31,100,000 | $ 26,700,000
Benefit payment | 1,000,000 |
Liability reversed | $ 2,400,000 |

X
- Definition Amount of distribution made to individual in accordance with deferred compensation arrangement. + References No definition available. + Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualDistributionPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 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 Amount of reversal of recorded liability pertaining to deferred compensation arrangement. + References No definition available. + Details
Name: | wmk_DeferredCompensationArrangementWithIndividualReversalOfLiability
Namespace Prefix: | wmk_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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