XML 55 R44.htm IDEA: XBRL DOCUMENT
v3.25.0.1

INVESTMENT SECURITIES - Schedule of Amortized Cost and Fair Values of Securities Held to Maturity (Details) - Debt Securities [Member] - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2024 | Sep. 30, 2024
Securities available-for-sale: |  |
Securities Available-For-Sale, Amortized Cost | $ 18,714 | $ 16,747
Securities Available-For-Sale, Gross Unrealized Gains | 133 | 77
Securities Available-For-Sale, Gross Unrealized Losses | (1,501) | (1,208)
Securities Available-For-Sale, Allowance for Credit Losses |  |
Securities Available-For-Sale, Fair Value | 17,346 | 15,616
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 80,644 | 79,816
Securities held-to-maturity, Gross Unrealized Gains | 2 | 84
Securities held-to-maturity, Gross Unrealized Losses | (8,834) | (7,283)
Securities held-to-maturity, Allowance for Credit Losses |  |
Securities held-to-maturity, Fair Value | 71,812 | 72,617
Securities Held-To-Maturity, Credit Rating | 80,644 | 79,816
Total investment securities, Amortized Cost | 99,358 | 96,563
Total investment securities, Gross Unrealized Gains | 135 | 161
Total investment securities, Gross Unrealized Losses | (10,335) | (8,491)
Total investment securities, Allowance for Credit Losses |  |
Total investment securities, Fair Value | 89,158 | 88,233
Mortgage-backed securities - residential [Member] | Obligations of U.S. government agencies [Member] |  |
Securities available-for-sale: |  |
Securities Available-For-Sale, Amortized Cost | 93 | 95
Securities Available-For-Sale, Gross Unrealized Gains |  |
Securities Available-For-Sale, Gross Unrealized Losses | (11) | (6)
Securities Available-For-Sale, Allowance for Credit Losses |  |
Securities Available-For-Sale, Fair Value | 82 | 89
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 7,051 | 7,209
Securities held-to-maturity, Gross Unrealized Gains |  |
Securities held-to-maturity, Gross Unrealized Losses | (817) | (611)
Securities held-to-maturity, Allowance for Credit Losses |  |
Securities held-to-maturity, Fair Value | 6,234 | 6,598
Securities Held-To-Maturity, Credit Rating | 7,051 | 7,209
Mortgage-backed securities - residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities available-for-sale: |  |
Securities Available-For-Sale, Amortized Cost | 14,621 | 12,652
Securities Available-For-Sale, Gross Unrealized Gains | 34 | 56
Securities Available-For-Sale, Gross Unrealized Losses | (1,490) | (1,202)
Securities Available-For-Sale, Allowance for Credit Losses |  |
Securities Available-For-Sale, Fair Value | 13,165 | 11,506
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 43,780 | 42,701
Securities held-to-maturity, Gross Unrealized Gains | 2 | 4
Securities held-to-maturity, Gross Unrealized Losses | (6,527) | (5,194)
Securities held-to-maturity, Allowance for Credit Losses |  |
Securities held-to-maturity, Fair Value | 37,255 | 37,511
Securities Held-To-Maturity, Credit Rating | 43,780 | 42,701
Corporate securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities available-for-sale: |  |
Securities Available-For-Sale, Amortized Cost | 4,000 | 4,000
Securities Available-For-Sale, Gross Unrealized Gains | 99 | 21
Securities Available-For-Sale, Gross Unrealized Losses |  |
Securities Available-For-Sale, Allowance for Credit Losses |  |
Securities Available-For-Sale, Fair Value | 4,099 | 4,021
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 3,000 | 3,000
Securities held-to-maturity, Gross Unrealized Gains |  |
Securities held-to-maturity, Gross Unrealized Losses | (140) | (234)
Securities held-to-maturity, Allowance for Credit Losses |  |
Securities held-to-maturity, Fair Value | 2,860 | 2,766
Securities Held-To-Maturity, Credit Rating | 3,000 | 3,000
Mortgage-backed securities - commercial [Member] | Obligations of U.S. government agencies [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 4,182 | 4,268
Securities held-to-maturity, Gross Unrealized Gains |  | 64
Securities held-to-maturity, Gross Unrealized Losses | (42) | (23)
Securities held-to-maturity, Allowance for Credit Losses |  |
Securities held-to-maturity, Fair Value | 4,140 | 4,309
Securities Held-To-Maturity, Credit Rating | 4,182 | 4,268
Debt Securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 19,000 | 19,000
Securities held-to-maturity, Gross Unrealized Gains |  | 13
Securities held-to-maturity, Gross Unrealized Losses | (873) | (865)
Securities held-to-maturity, Allowance for Credit Losses |  |
Securities held-to-maturity, Fair Value | 18,127 | 18,148
Securities Held-To-Maturity, Credit Rating | 19,000 | 19,000
Private label mortgage-backed securities residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 187 | 190
Securities held-to-maturity, Gross Unrealized Gains |  |
Securities held-to-maturity, Gross Unrealized Losses | (7) | (5)
Securities held-to-maturity, Allowance for Credit Losses |  |
Securities held-to-maturity, Fair Value | 180 | 185
Securities Held-To-Maturity, Credit Rating | 187 | 190
Obligations of state and political subdivisions [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 3,444 | 3,448
Securities held-to-maturity, Gross Unrealized Gains |  | 3
Securities held-to-maturity, Gross Unrealized Losses | (428) | (351)
Securities held-to-maturity, Allowance for Credit Losses |  |
Securities held-to-maturity, Fair Value | 3,016 | 3,100
Securities Held-To-Maturity, Credit Rating | 3,444 | 3,448
Standard & Poor's, AAA/AA/A Rating [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 80,644 | 79,816
Securities Held-To-Maturity, Credit Rating | 80,644 | 79,816
Standard & Poor's, AAA/AA/A Rating [Member] | Mortgage-backed securities - residential [Member] | Obligations of U.S. government agencies [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 7,051 | 7,209
Securities Held-To-Maturity, Credit Rating | 7,051 | 7,209
Standard & Poor's, AAA/AA/A Rating [Member] | Mortgage-backed securities - residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 43,780 | 42,701
Securities Held-To-Maturity, Credit Rating | 43,780 | 42,701
Standard & Poor's, AAA/AA/A Rating [Member] | Corporate securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 3,000 | 3,000
Securities Held-To-Maturity, Credit Rating | 3,000 | 3,000
Standard & Poor's, AAA/AA/A Rating [Member] | Mortgage-backed securities - commercial [Member] | Obligations of U.S. government agencies [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 4,182 | 4,268
Securities Held-To-Maturity, Credit Rating | 4,182 | 4,268
Standard & Poor's, AAA/AA/A Rating [Member] | Debt Securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 19,000 | 19,000
Securities Held-To-Maturity, Credit Rating | 19,000 | 19,000
Standard & Poor's, AAA/AA/A Rating [Member] | Private label mortgage-backed securities residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 187 | 190
Securities Held-To-Maturity, Credit Rating | 187 | 190
Standard & Poor's, AAA/AA/A Rating [Member] | Obligations of state and political subdivisions [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost | 3,444 | 3,448
Securities Held-To-Maturity, Credit Rating | 3,444 | 3,448
Standard & Poor's, BBB/BB/B Rating [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
Securities Held-To-Maturity, Credit Rating |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Mortgage-backed securities - residential [Member] | Obligations of U.S. government agencies [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
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] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
Securities Held-To-Maturity, Credit Rating |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Corporate securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
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] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
Securities Held-To-Maturity, Credit Rating |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Debt Securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
Securities Held-To-Maturity, Credit Rating |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Private label mortgage-backed securities residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
Securities Held-To-Maturity, Credit Rating |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Obligations of state and political subdivisions [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
Securities Held-To-Maturity, Credit Rating |  |
Non-rated [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
Securities Held-To-Maturity, Credit Rating |  |
Non-rated [Member] | Mortgage-backed securities - residential [Member] | Obligations of U.S. government agencies [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
Securities Held-To-Maturity, Credit Rating |  |
Non-rated [Member] | Mortgage-backed securities - residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
Securities Held-To-Maturity, Credit Rating |  |
Non-rated [Member] | Corporate securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
Securities Held-To-Maturity, Credit Rating |  |
Non-rated [Member] | Mortgage-backed securities - commercial [Member] | Obligations of U.S. government agencies [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
Securities Held-To-Maturity, Credit Rating |  |
Non-rated [Member] | Debt Securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
Securities Held-To-Maturity, Credit Rating |  |
Non-rated [Member] | Private label mortgage-backed securities residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
Securities Held-To-Maturity, Credit Rating |  |
Non-rated [Member] | Obligations of state and political subdivisions [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Obligations of U.S. government agencies: |  |
Securities held-to-maturity, Amortized Cost |  |
Securities Held-To-Maturity, Credit Rating |  |

X
- Definition Gross unrealized losses. + References No definition available. + Details
Name: | mgyr_AvailableForSaleHeldtoMaturityDebtSecuritiesGrossUnrealizedLoss
Namespace Prefix: | mgyr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Gross unrealized losses. + References No definition available. + Details
Name: | mgyr_HeldtoMaturityDebtSecuritiesGrossUnrealizedLoss
Namespace Prefix: | mgyr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

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 unrealized gain 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/2009/role/commonPracticeRef -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_AvailableForSaleDebtSecuritiesGrossUnrealizedGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of unrealized loss 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/2009/role/commonPracticeRef -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_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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, after allowance for credit loss, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), investment in debt security measured at amortized cost (held-to-maturity), and investment in debt security measured at fair value with change in fair value recognized in net income (trading). + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 80 -Name Accounting Standards Codification -Section 55 -Paragraph 14 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480078/944-80-55-14 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 80 -Name Accounting Standards Codification -Section 55 -Paragraph 9 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480078/944-80-55-9 Reference 3: 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)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481830/320-10-45-1 Reference 5: 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)(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 + Details
Name: | us-gaap_DebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost, after allowance for credit loss, 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/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) and 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/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481830/320-10-45-1 Reference 2: 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_DebtSecuritiesAvailableForSaleAndHeldToMaturity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) and 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/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (d) -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 5 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5 Reference 3: 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 4: http://www.xbrl.org/2003/role/disclosureRef -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 + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in net income (trading). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(9)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(7)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(d)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477250/944-220-S99-1 + Details
Name: | us-gaap_DebtSecuritiesUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 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
- Definition Amount of unrealized gain (loss) from transfer of investment in debt security measured at amortized cost (held-to-maturity), to investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and investment in debt security measured at fair value with change in fair value recognized in net income (trading). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-10 + Details
Name: | us-gaap_HeldToMaturitySecuritiesTransferredSecurityUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_DebtSecuritiesMember
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: | us-gaap_FinancialInstrumentAxis=mgyr_CorporateSecuritiesMember
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=us-gaap_DebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=mgyr_PrivateLabelMortgagebackedSecuritiesResidentialMember
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: | 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: |