XML 59 R49.htm IDEA: XBRL DOCUMENT
v3.25.3

Related Party Share Purchase Agreement Transaction - Share Purchase Agreement Transaction (Details) - USD ($) $ / shares in Units, $ in Thousands |  |  | 9 Months Ended |
--- | --- | --- | --- | ---
Jun. 06, 2025 | Jun. 05, 2025 | Sep. 27, 2025 | Dec. 28, 2024
Related Party Transaction [Line Items] |  |  |  |
Share purchase (in shares) | 2,153,846 |  |  |
Aggregate purchase price of share purchase in private transaction |  |  | $ 141,400 |
Common stock, shares outstanding | 26,898,443 |  | 24,744,597 | 24,744,597
Remaining authorized shares under share repurchase plan |  |  | 752,468 |
Related Party | Share Purchase Agreement Transaction |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Legal and financial expenses recognized | $ 1,200 |  |  |
Excise tax liability | $ 1,400 |  |  |
Percentage of aggregate purchase price (%) | 1.00% |  |  |
Repurchase amount | $ 140,000 |  |  |
Trustees of The Patricia R. Weis Marital Trust and The Patricia G. Ross Weis Revocable Trust | Related Party |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Common stock, shares outstanding | 4,051,383 |  |  |
Common stock, ownership percentage (%) | 61.00% |  |  |
Trustees of The Patricia R. Weis Marital Trust and The Patricia G. Ross Weis Revocable Trust | Related Party | Share Purchase Agreement Transaction |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Share purchase (in shares) | 2,153,846 |  |  |
Aggregate purchase price of share purchase in private transaction | $ 140,000 |  |  |
Share purchase price per share (in $ per share) | $ 65 | $ 65 |  |
Discount percentage over closing market price (%) |  | 12.30% |  |
Treasury share acquired, Percentage of shares outstanding (%) | 8.00% |  |  |
Trustees of The Patricia R. Weis Marital Trust and The Patricia G. Ross Weis Revocable Trust | Related Party | Share Purchase Agreement Transaction | 30-day volume weighted average trading price |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Discount percentage over closing market price (%) |  | 15.60% |  |
Trustees of The Patricia R. Weis Marital Trust and The Patricia G. Ross Weis Revocable Trust | Related Party | Share Purchase Agreement Transaction | 180-day volume weighted average trading price |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Discount percentage over closing market price (%) |  | 12.80% |  |
Trustees of The Patricia R. Weis Marital Trust and The Patricia G. Ross Weis Revocable Trust | Related Party | Share Purchase Agreement Transaction | One year volume weighted average trading price |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Discount percentage over closing market price (%) |  | 8.40% |  |

X
- Definition Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.6-05(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 + Details
Name: | us-gaap_CommonStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481990/310-10-45-13 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(i)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(g)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 + Details
Name: | us-gaap_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of excise tax payable on share purchased under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 505 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481549/505-30-45-1 + Details
Name: | us-gaap_ShareRepurchaseProgramExciseTaxPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of shares remaining authorized to be purchased under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total cost of shares repurchased divided by the total number of shares repurchased. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481549/505-30-45-1 + Details
Name: | us-gaap_TreasuryStockAcquiredAverageCostPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares that have been repurchased during the period and are being held in treasury. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_TreasuryStockSharesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481549/505-30-45-1 + Details
Name: | us-gaap_TreasuryStockValueAcquiredCostMethod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of share under share repurchase plan. + References No definition available. + Details
Name: | wmk_AccruedShareRepurchaseAmount
Namespace Prefix: | wmk_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage of ownership of shares outstanding. + References No definition available. + Details
Name: | wmk_CommonStockPercentageOfOwnership
Namespace Prefix: | wmk_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of discount over closing market price to compute purchase price per share. + References No definition available. + Details
Name: | wmk_PurchasePricePerSharePercentageOfDiscountToClosingMarketPrice
Namespace Prefix: | wmk_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of aggregate purchase price being the excise tax liability recognized pursuant to share repurchased. + References No definition available. + Details
Name: | wmk_ShareRepurchaseProgramExciseTaxPayablePercentageOverAggregatePurchasePrice
Namespace Prefix: | wmk_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of number of treasury share acquired over the shares outstanding on the date of transaction. + References No definition available. + Details
Name: | wmk_TreasuryShareAcquiredPercentageOfSharesOutstanding
Namespace Prefix: | wmk_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of legal and financial expenses recognized in pursuant to purchase of treasury shares. + References No definition available. + Details
Name: | wmk_TreasurySharesAcquiredLegalAndFinancialExpenseRecognized
Namespace Prefix: | wmk_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_RelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=wmk_SharePurchaseAgreementTransactionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=wmk_TrusteesOfPatriciaR.WeisMaritalTrustAndPatriciaG.RossWeisRevocableTrustMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | wmk_VolumeWeightedAverageTradingPriceAxis=wmk_ThirtyDayVolumeWeightedAverageTradingPriceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | wmk_VolumeWeightedAverageTradingPriceAxis=wmk_OneHundredAndEightyDayVolumeWeightedAverageTradingPriceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | wmk_VolumeWeightedAverageTradingPriceAxis=wmk_OneYearVolumeWeightedAverageTradingPriceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |