<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>30</ContextCount>
  <ElementCount>31</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>22</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>1</UnitCount>
  <MyReports>
    <Report instance="wmk-20260430xdef14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995200090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.weismarkets.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="wmk-20260430xdef14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="wmk-20260430xdef14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995440 - Disclosure - Recovery of Erroneously Awarded Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/ErrCompDisclosure</Role>
      <ShortName>Recovery of Erroneously Awarded Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="wmk-20260430xdef14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>wmk-20260430.xsd</File>
    <File>wmk-20260430_def.xml</File>
    <File>wmk-20260430_lab.xml</File>
    <File>wmk-20260430_pre.xml</File>
    <File doctype="DEF 14A" isProxy="true" isUsgaap="true" original="wmk-20260430xdef14a.htm">wmk-20260430xdef14a.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>wmk-20260430xdef14a_a003.jpg</File>
    <File>wmk-20260430xdef14a_a009.jpg</File>
    <File>wmk-20260430xdef14a_a010.jpg</File>
    <File>wmk-20260430xdef14a_a011.jpg</File>
    <File>wmk-20260430xdef14a_a012.jpg</File>
    <File>wmk-20260430xdef14a_a016.jpg</File>
    <File>wmk-20260430xdef14a_bg001.jpg</File>
    <File>wmk-20260430xdef14a_cg001.jpg</File>
    <File>wmk-20260430xdef14a_dg001.jpg</File>
    <File>wmk-20260430xdef14a_eg001.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="5">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="73">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
