XML 84 R72.htm IDEA: XBRL DOCUMENT
v3.25.4

Retirement Plans - Additional Information (Details) - USD ($) $ in Millions | 12 Months Ended |
--- | --- | ---
Dec. 27, 2025 | Dec. 28, 2024
Retirement Plans |  |
Benefit payment | $ 1.0 |
Liability reversed | $ 2.4 |
Vesting percentage | 100.00% |
Service period to be fully vested | 3 years |
Retirement Plans, Accumulated Benefit Obligation | $ 33.4 | $ 31.1

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 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 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