XML 58 R47.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

INVESTMENT SECURITIES (Details) - Schedule of Amortized Cost and Fair Values of Securities Held to Maturity - Securities [Member] - USD ($) $ in Thousands | Mar. 31, 2024 | Sep. 30, 2023
--- | --- | ---
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Available-For-Sale, Amortized Cost | $ 13,377 | $ 12,090
Securities Available-For-Sale, Gross Unrealized Gains | 18 |
Securities Available-For-Sale, Gross Unrealized Losses | (1,482) | (1,965)
Securities Available-For-Sale, Fair Value | 11,913 | 10,125
Securities Held-To-Maturity, Amortized Cost | 83,438 | 85,835
Securities Held-To-Maturity, Gross Unrealized Gains | 2 |
Securities Held-To-Maturity, Gross Unrealized Losses | (9,336) | (12,107)
Securities Held-To-Maturity, Fair Value | 74,104 | 73,728
Available-for-Sale Securities [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Total investment securities, Amortized Cost | 96,815 | 97,925
Total investment securities, Gross Unrealized Gains | 20 |
Total investment securities, Gross Unrealized Losses | (10,818) | (14,072)
Total investment securities, Fair Value | 86,017 | 83,853
Mortgage backed securities - residential [Member] | Obligations of U.S. government agencies [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Available-For-Sale, Amortized Cost | 100 | 106
Securities Available-For-Sale, Gross Unrealized Gains |  |
Securities Available-For-Sale, Gross Unrealized Losses | (10) | (14)
Securities Available-For-Sale, Fair Value | 90 | 92
Securities Held-To-Maturity, Amortized Cost | 4,887 | 5,070
Securities Held-To-Maturity, Gross Unrealized Gains |  |
Securities Held-To-Maturity, Gross Unrealized Losses | (728) | (850)
Securities Held-To-Maturity, Fair Value | 4,159 | 4,220
Mortgage backed securities - residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Available-For-Sale, Amortized Cost | 13,277 |
Securities Available-For-Sale, Gross Unrealized Gains | 18 |
Securities Available-For-Sale, Gross Unrealized Losses | (1,472) |
Securities Available-For-Sale, Fair Value | 11,823 |
Securities Held-To-Maturity, Amortized Cost | 46,471 | 48,086
Securities Held-To-Maturity, Gross Unrealized Gains |  |
Securities Held-To-Maturity, Gross Unrealized Losses | (6,605) | (8,480)
Securities Held-To-Maturity, Fair Value | 39,866 | 39,606
Mortgage backed securities - residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] | Available-for-Sale Securities [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Available-For-Sale, Amortized Cost |  | 11,984
Securities Available-For-Sale, Gross Unrealized Gains |  |
Securities Available-For-Sale, Gross Unrealized Losses |  | (1,951)
Securities Available-For-Sale, Fair Value |  | 10,033
Mortgage-backed securities - commercial [Member] | Obligations of U.S. government agencies [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Amortized Cost | 4,425 | 2,509
Securities Held-To-Maturity, Gross Unrealized Gains |  |
Securities Held-To-Maturity, Gross Unrealized Losses | (35) | (16)
Securities Held-To-Maturity, Fair Value | 4,390 | 2,493
Obligations of U.S. government-sponsored enterprises [Member] | Securities [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Amortized Cost | 20,999 | 23,497
Securities Held-To-Maturity, Gross Unrealized Gains |  |
Securities Held-To-Maturity, Gross Unrealized Losses | (1,369) | (1,947)
Securities Held-To-Maturity, Fair Value | 19,630 | 21,550
Private label mortgage-backed securities-residential [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Amortized Cost | 199 | 207
Securities Held-To-Maturity, Gross Unrealized Gains |  |
Securities Held-To-Maturity, Gross Unrealized Losses | (10) | (12)
Securities Held-To-Maturity, Fair Value | 189 | 195
Obligations of state and political subdivisions [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Amortized Cost | 3,457 | 3,466
Securities Held-To-Maturity, Gross Unrealized Gains | 2 |
Securities Held-To-Maturity, Gross Unrealized Losses | (392) | (605)
Securities Held-To-Maturity, Fair Value | 3,067 | 2,861
Corporate securities [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Amortized Cost | 3,000 | 3,000
Securities Held-To-Maturity, Gross Unrealized Gains |  |
Securities Held-To-Maturity, Gross Unrealized Losses | (197) | (197)
Securities Held-To-Maturity, Fair Value | 2,803 | $ 2,803
Standard & Poor's, AAA/AA/A Rating [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating | 80,239 |
Standard & Poor's, AAA/AA/A Rating [Member] | Mortgage backed securities - residential [Member] | Obligations of U.S. government agencies [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating | 4,887 |
Standard & Poor's, AAA/AA/A Rating [Member] | Mortgage backed securities - residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating | 46,471 |
Standard & Poor's, AAA/AA/A Rating [Member] | Mortgage-backed securities - commercial [Member] | Obligations of U.S. government agencies [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating | 4,425 |
Standard & Poor's, AAA/AA/A Rating [Member] | Obligations of U.S. government-sponsored enterprises [Member] | Securities [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating | 20,999 |
Standard & Poor's, AAA/AA/A Rating [Member] | Private label mortgage-backed securities-residential [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating |  |
Standard & Poor's, AAA/AA/A Rating [Member] | Obligations of state and political subdivisions [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating | 3,457 |
Standard & Poor's, AAA/AA/A Rating [Member] | Corporate securities [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating |  |
Standard & Poor's, BBB/BB/B Rating [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating | 3,000 |
Standard & Poor's, BBB/BB/B Rating [Member] | Mortgage backed securities - residential [Member] | Obligations of U.S. government agencies [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Mortgage backed securities - residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Mortgage-backed securities - commercial [Member] | Obligations of U.S. government agencies [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Obligations of U.S. government-sponsored enterprises [Member] | Securities [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Private label mortgage-backed securities-residential [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Obligations of state and political subdivisions [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Corporate securities [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating | 3,000 |
Non-rated [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating | 199 |
Non-rated [Member] | Mortgage backed securities - residential [Member] | Obligations of U.S. government agencies [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating |  |
Non-rated [Member] | Mortgage backed securities - residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating |  |
Non-rated [Member] | Mortgage-backed securities - commercial [Member] | Obligations of U.S. government agencies [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating |  |
Non-rated [Member] | Obligations of U.S. government-sponsored enterprises [Member] | Securities [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating |  |
Non-rated [Member] | Private label mortgage-backed securities-residential [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating | 199 |
Non-rated [Member] | Obligations of state and political subdivisions [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating |  |
Non-rated [Member] | Corporate securities [Member] |  |
Schedule of Amortized Cost and Fair Values of Securities [Line Items] |  |
Securities Held-To-Maturity, Credit Rating |  |

X
- References No definition available. + Details
Name: | mgyr_INVESTMENTSECURITIESDetailsScheduleofAmortizedCostandFairValuesofSecuritiesHeldtoMaturityLineItems
Namespace Prefix: | mgyr_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | mgyr_InvestmentSecuritiesAmortizedCost
Namespace Prefix: | mgyr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | mgyr_InvestmentSecuritiesFairValue
Namespace Prefix: | mgyr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | mgyr_InvestmentSecuritiesGrossUnrealizedGains
Namespace Prefix: | mgyr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | mgyr_InvestmentSecuritiesGrossUnrealizedLosses
Namespace Prefix: | mgyr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Represent the amount of credit rating. + References No definition available. + Details
Name: | mgyr_SecuritiesHeldToMaturityCreditRatings
Namespace Prefix: | mgyr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 103 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-103 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 100 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-100 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aa) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 8: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481830/320-10-45-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7A -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-7A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479344/326-20-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 14 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-14 + Details
Name: | us-gaap_HeldToMaturitySecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrecognized gain on investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5A + Details
Name: | us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5A -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5A + Details
Name: | us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2E -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2E Reference 3: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (aa) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5A Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 + Details
Name: | us-gaap_HeldToMaturitySecuritiesFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_DebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InformationByCategoryOfDebtSecurityAxis=us-gaap_AvailableforsaleSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_ResidentialMortgageBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InformationByCategoryOfDebtSecurityAxis=mgyr_ObligationsOfUSGovernmentAgenciesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InformationByCategoryOfDebtSecurityAxis=mgyr_ObligationsOfUSGovernmentsponsoredEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mgyr_InvestmentSecuritiesAxis=us-gaap_AvailableforsaleSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CommercialMortgageBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=mgyr_ObligationsOfUSGovernmentsponsoredEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InformationByCategoryOfDebtSecurityAxis=us-gaap_DebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=mgyr_ObligationsOfStateAndPoliticalSubdivisionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateNoteSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingStandardPoorsAxis=mgyr_StandardPoorsAAAAAARatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingStandardPoorsAxis=mgyr_StandardPoorsBBBBBBRatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingStandardPoorsAxis=mgyr_NonratedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |