<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>393</ContextCount>
  <ElementCount>319</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>74</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995300 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995301 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995302 - Statement - Consolidated Balance Sheets (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/ConsolidatedBalanceSheetsParentheticals</Role>
      <ShortName>Consolidated Balance Sheets (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995303 - Statement - Consolidated Statements of Income (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/ConsolidatedStatementsofIncomeUnaudited</Role>
      <ShortName>Consolidated Statements of Income (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995304 - Statement - Consolidated Statements of Comprehensive Income (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/ConsolidatedStatementsofComprehensiveIncomeUnaudited</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995305 - Statement - Consolidated Statements of Changes in Stockholders' Equity (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/ConsolidatedStatementsofChangesinStockholdersEquityUnaudited</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders' Equity (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995306 - Statement - Consolidated Statements of Changes in Stockholders' Equity (Unaudited) (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/ConsolidatedStatementsofChangesinStockholdersEquityUnauditedParentheticals</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders' Equity (Unaudited) (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995307 - Statement - Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/ConsolidatedStatementsofCashFlowsUnaudited</Role>
      <ShortName>Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995308 - Disclosure - BASIS OF PRESENTATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/BASISOFPRESENTATION</Role>
      <ShortName>BASIS OF PRESENTATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995309 - Disclosure - RECENT ACCOUNTING PRONOUNCEMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/RECENTACCOUNTINGPRONOUNCEMENTS</Role>
      <ShortName>RECENT ACCOUNTING PRONOUNCEMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995310 - Disclosure - CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/CONTINGENCIES</Role>
      <ShortName>CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995311 - Disclosure - EARNINGS PER SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/EARNINGSPERSHARE</Role>
      <ShortName>EARNINGS PER SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995312 - Disclosure - OTHER COMPREHENSIVE INCOME (LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/OTHERCOMPREHENSIVEINCOMELOSS</Role>
      <ShortName>OTHER COMPREHENSIVE INCOME (LOSS)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995313 - Disclosure - FAIR VALUE DISCLOSURES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/FAIRVALUEDISCLOSURES</Role>
      <ShortName>FAIR VALUE DISCLOSURES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995314 - Disclosure - LEASES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/LEASES</Role>
      <ShortName>LEASES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995315 - Disclosure - INVESTMENT SECURITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/INVESTMENTSECURITIES</Role>
      <ShortName>INVESTMENT SECURITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995316 - Disclosure - UNREALIZED LOSSES ON INVESTMENT SECURITIES AVAILABLE-FOR-SALE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/UNREALIZEDLOSSESONINVESTMENTSECURITIESAVAILABLEFORSALE</Role>
      <ShortName>UNREALIZED LOSSES ON INVESTMENT SECURITIES AVAILABLE-FOR-SALE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995317 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/LOANSRECEIVABLENETANDRELATEDALLOWANCEFORCREDITLOSSES</Role>
      <ShortName>LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995318 - Disclosure - DEPOSITS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/DEPOSITS</Role>
      <ShortName>DEPOSITS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995319 - Disclosure - FINANCIAL INSTRUMENTS WITH OFF-BALANCE SHEET RISK</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/FINANCIALINSTRUMENTSWITHOFFBALANCESHEETRISK</Role>
      <ShortName>FINANCIAL INSTRUMENTS WITH OFF-BALANCE SHEET RISK</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.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>21</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>996320 - Disclosure - EARNINGS PER SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/EARNINGSPERSHARETables</Role>
      <ShortName>EARNINGS PER SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://may.com/20251231/role/EARNINGSPERSHARE</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>996321 - Disclosure - OTHER COMPREHENSIVE INCOME (LOSS) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/OTHERCOMPREHENSIVEINCOMELOSSTables</Role>
      <ShortName>OTHER COMPREHENSIVE INCOME (LOSS) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://may.com/20251231/role/OTHERCOMPREHENSIVEINCOMELOSS</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>996322 - Disclosure - FAIR VALUE DISCLOSURES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/FAIRVALUEDISCLOSURESTables</Role>
      <ShortName>FAIR VALUE DISCLOSURES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://may.com/20251231/role/FAIRVALUEDISCLOSURES</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>996323 - Disclosure - LEASES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/LEASESTables</Role>
      <ShortName>LEASES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://may.com/20251231/role/LEASES</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>996324 - Disclosure - INVESTMENT SECURITIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/INVESTMENTSECURITIESTables</Role>
      <ShortName>INVESTMENT SECURITIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://may.com/20251231/role/INVESTMENTSECURITIES</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>996325 - Disclosure - UNREALIZED LOSSES ON INVESTMENT SECURITIES AVAILABLE-FOR-SALE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/UNREALIZEDLOSSESONINVESTMENTSECURITIESAVAILABLEFORSALETables</Role>
      <ShortName>UNREALIZED LOSSES ON INVESTMENT SECURITIES AVAILABLE-FOR-SALE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://may.com/20251231/role/UNREALIZEDLOSSESONINVESTMENTSECURITIESAVAILABLEFORSALE</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>996326 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/LOANSRECEIVABLENETANDRELATEDALLOWANCEFORCREDITLOSSESTables</Role>
      <ShortName>LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://may.com/20251231/role/LOANSRECEIVABLENETANDRELATEDALLOWANCEFORCREDITLOSSES</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>996327 - Disclosure - DEPOSITS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/DEPOSITSTables</Role>
      <ShortName>DEPOSITS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://may.com/20251231/role/DEPOSITS</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>996328 - Disclosure - FINANCIAL INSTRUMENTS WITH OFF-BALANCE SHEET RISK (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/FINANCIALINSTRUMENTSWITHOFFBALANCESHEETRISKTables</Role>
      <ShortName>FINANCIAL INSTRUMENTS WITH OFF-BALANCE SHEET RISK (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://may.com/20251231/role/FINANCIALINSTRUMENTSWITHOFFBALANCESHEETRISK</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>996329 - Disclosure - RECENT ACCOUNTING PRONOUNCEMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/RECENTACCOUNTINGPRONOUNCEMENTSDetails</Role>
      <ShortName>RECENT ACCOUNTING PRONOUNCEMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://may.com/20251231/role/RECENTACCOUNTINGPRONOUNCEMENTS</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>996330 - Disclosure - EARNINGS PER SHARE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/EARNINGSPERSHAREDetails</Role>
      <ShortName>EARNINGS PER SHARE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://may.com/20251231/role/EARNINGSPERSHARETables</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>996331 - Disclosure - EARNINGS PER SHARE - Schedule of Calculation of Basic and Diluted Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/EARNINGSPERSHAREScheduleofCalculationofBasicandDilutedEarningsPerShareDetails</Role>
      <ShortName>EARNINGS PER SHARE - Schedule of Calculation of Basic and Diluted Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>996332 - Disclosure - OTHER COMPREHENSIVE INCOME (LOSS) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/OTHERCOMPREHENSIVEINCOMELOSSDetails</Role>
      <ShortName>OTHER COMPREHENSIVE INCOME (LOSS) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://may.com/20251231/role/OTHERCOMPREHENSIVEINCOMELOSSTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>996333 - Disclosure - OTHER COMPREHENSIVE INCOME (LOSS) - Schedule of Components of Other Comprehensive Income (Loss) and the Related Income Tax Effects (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/OTHERCOMPREHENSIVEINCOMELOSSScheduleofComponentsofOtherComprehensiveIncomeLossandtheRelatedIncomeTaxEffectsDetails</Role>
      <ShortName>OTHER COMPREHENSIVE INCOME (LOSS) - Schedule of Components of Other Comprehensive Income (Loss) and the Related Income Tax Effects (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://may.com/20251231/role/OTHERCOMPREHENSIVEINCOMELOSSTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>996334 - Disclosure - FAIR VALUE DISCLOSURES - Schedule of Assets Measured at Fair Value on a Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/FAIRVALUEDISCLOSURESScheduleofAssetsMeasuredatFairValueonaRecurringBasisDetails</Role>
      <ShortName>FAIR VALUE DISCLOSURES - Schedule of Assets Measured at Fair Value on a Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>996335 - Disclosure - FAIR VALUE DISCLOSURES - Schedule of Fair Value on a Non-Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/FAIRVALUEDISCLOSURESScheduleofFairValueonaNonRecurringBasisDetails</Role>
      <ShortName>FAIR VALUE DISCLOSURES - Schedule of Fair Value on a Non-Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>996336 - Disclosure - FAIR VALUE DISCLOSURES - Schedule of Quantitative Information about Assets Measured at Fair Value on a Non-recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/FAIRVALUEDISCLOSURESScheduleofQuantitativeInformationaboutAssetsMeasuredatFairValueonaNonrecurringBasisDetails</Role>
      <ShortName>FAIR VALUE DISCLOSURES - Schedule of Quantitative Information about Assets Measured at Fair Value on a Non-recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>996337 - Disclosure - FAIR VALUE DISCLOSURES - Schedule of the Carrying Amount, Fair Value, and Placement in the Fair Value Hierarchy (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/FAIRVALUEDISCLOSURESScheduleoftheCarryingAmountFairValueandPlacementintheFairValueHierarchyDetails</Role>
      <ShortName>FAIR VALUE DISCLOSURES - Schedule of the Carrying Amount, Fair Value, and Placement in the Fair Value Hierarchy (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>996338 - Disclosure - LEASES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/LEASESDetails</Role>
      <ShortName>LEASES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://may.com/20251231/role/LEASESTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>996339 - Disclosure - LEASES - Schedule of Balance Sheet Information Related to our Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/LEASESScheduleofBalanceSheetInformationRelatedtoourLeasesDetails</Role>
      <ShortName>LEASES - Schedule of Balance Sheet Information Related to our Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>996340 - Disclosure - INVESTMENT SECURITIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/INVESTMENTSECURITIESDetails</Role>
      <ShortName>INVESTMENT SECURITIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://may.com/20251231/role/INVESTMENTSECURITIESTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>996341 - Disclosure - INVESTMENT SECURITIES - Schedule of Amortized Cost and Fair Values of Securities Held to Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/INVESTMENTSECURITIESScheduleofAmortizedCostandFairValuesofSecuritiesHeldtoMaturityDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Schedule of Amortized Cost and Fair Values of Securities Held to Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>996342 - Disclosure - INVESTMENT SECURITIES - Schedule of Maturities Debt Securities and Mortgage Backed Securities Available-For-Sale (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/INVESTMENTSECURITIESScheduleofMaturitiesDebtSecuritiesandMortgageBackedSecuritiesAvailableForSaleDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Schedule of Maturities Debt Securities and Mortgage Backed Securities Available-For-Sale (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>996343 - Disclosure - INVESTMENT SECURITIES - Schedule of Maturities Debt Securities and Mortgage Backed Securities Held-to-Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/INVESTMENTSECURITIESScheduleofMaturitiesDebtSecuritiesandMortgageBackedSecuritiesHeldtoMaturityDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Schedule of Maturities Debt Securities and Mortgage Backed Securities Held-to-Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>996344 - Disclosure - UNREALIZED LOSSES ON INVESTMENT SECURITIES AVAILABLE-FOR-SALE - Schedule of Unrealized Losses of Available-for-Sale Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/UNREALIZEDLOSSESONINVESTMENTSECURITIESAVAILABLEFORSALEScheduleofUnrealizedLossesofAvailableforSaleSecuritiesDetails</Role>
      <ShortName>UNREALIZED LOSSES ON INVESTMENT SECURITIES AVAILABLE-FOR-SALE - Schedule of Unrealized Losses of Available-for-Sale Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>996345 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/LOANSRECEIVABLENETANDRELATEDALLOWANCEFORCREDITLOSSESDetails</Role>
      <ShortName>LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://may.com/20251231/role/LOANSRECEIVABLENETANDRELATEDALLOWANCEFORCREDITLOSSESTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>996346 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of Loans Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/LOANSRECEIVABLENETANDRELATEDALLOWANCEFORCREDITLOSSESScheduleofLoansReceivableDetails</Role>
      <ShortName>LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of Loans Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>996347 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of Loan Portfolio (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/LOANSRECEIVABLENETANDRELATEDALLOWANCEFORCREDITLOSSESScheduleofLoanPortfolioDetails</Role>
      <ShortName>LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of Loan Portfolio (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>996348 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of the Loan Portfolio by Analyzing the Age (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/LOANSRECEIVABLENETANDRELATEDALLOWANCEFORCREDITLOSSESScheduleoftheLoanPortfoliobyAnalyzingtheAgeDetails</Role>
      <ShortName>LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of the Loan Portfolio by Analyzing the Age (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>996349 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of Individually Evaluated Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/LOANSRECEIVABLENETANDRELATEDALLOWANCEFORCREDITLOSSESScheduleofIndividuallyEvaluatedLoansDetails</Role>
      <ShortName>LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of Individually Evaluated Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>996350 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of Allowance for Loan Losses by Loan Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/LOANSRECEIVABLENETANDRELATEDALLOWANCEFORCREDITLOSSESScheduleofAllowanceforLoanLossesbyLoanCategoryDetails</Role>
      <ShortName>LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of Allowance for Loan Losses by Loan Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>996351 - Disclosure - DEPOSITS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/DEPOSITSDetails</Role>
      <ShortName>DEPOSITS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://may.com/20251231/role/DEPOSITSTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>996352 - Disclosure - DEPOSITS - Schedule of Deposits by Type of Account (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/DEPOSITSScheduleofDepositsbyTypeofAccountDetails</Role>
      <ShortName>DEPOSITS - Schedule of Deposits by Type of Account (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>996353 - Disclosure - FINANCIAL INSTRUMENTS WITH OFF-BALANCE SHEET RISK - Schedule of Information Regarding Derivatives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/FINANCIALINSTRUMENTSWITHOFFBALANCESHEETRISKScheduleofInformationRegardingDerivativesDetails</Role>
      <ShortName>FINANCIAL INSTRUMENTS WITH OFF-BALANCE SHEET RISK - Schedule of Information Regarding Derivatives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="mgyr-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>996354 - Disclosure - FINANCIAL INSTRUMENTS WITH OFF-BALANCE SHEET RISK - Schedule of Financial Instruments with Off-Balance-Sheet Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://may.com/20251231/role/FINANCIALINSTRUMENTSWITHOFFBALANCESHEETRISKScheduleofFinancialInstrumentswithOffBalanceSheetRiskDetails</Role>
      <ShortName>FINANCIAL INSTRUMENTS WITH OFF-BALANCE SHEET RISK - Schedule of Financial Instruments with Off-Balance-Sheet Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="mgyr-20251231.htm">mgyr-20251231.htm</File>
    <File>mgyr-20251231.xsd</File>
    <File>mgyr-20251231_cal.xml</File>
    <File>mgyr-20251231_def.xml</File>
    <File>mgyr-20251231_lab.xml</File>
    <File>mgyr-20251231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1419">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
