XML 46 R36.htm IDEA: XBRL DOCUMENT
v3.22.4

STOCK-BASED COMPENSATION AND STOCK REPURCHASE PROGRAM (Details) - USD ($) |  |  | 3 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | ---
Dec. 08, 2022 | Dec. 08, 2022 | Aug. 25, 2022 | Dec. 31, 2022 | Dec. 31, 2021 | Sep. 30, 2022 | Sep. 30, 2021 | Jan. 01, 2023 | Jan. 01, 2022
STOCK-BASED COMPENSATION AND STOCK REPURCHASE PROGRAM (Details) [Line Items] |  |  |  |  |  |  |  |  |
Stock options vest over service period |  |  |  |  |  | 5 years |  |  |
Treasury yield in effect term |  |  |  |  |  | 7 years |  |  |
Stock option rate percentage |  |  |  |  |  | 95.00% |  |  |
Equity compensation shares |  |  | 547,400 |  |  |  |  |  |
Shares of restricted stock |  |  |  | 293,200 |  |  |  |  |
Stock option compensation expense (in Dollars) |  |  |  | $ 69,000 |  |  |  |  |
Stock award compensation expense (in Dollars) |  |  |  | $ 111,000 |  |  |  |  |
Stock repurchased during period |  | 354,891 |  |  |  |  |  |  |
Average price (in Dollars per share) | $ 12.9 | $ 12.9 |  |  |  |  |  |  |
Outstanding shares, percentage | 5.00% |  |  |  |  |  |  |  |
Outstanding shares | 337,146 | 337,146 |  |  |  |  |  |  |
ESOP trustees purchased |  |  |  |  |  |  | 312,800 |  |
Common stock (in Dollars) |  |  |  |  |  |  | $ 3,400,000 |  |
Average price (in Dollars per share) |  |  |  |  |  |  | $ 10.77 |  |
Variable interest rate |  |  |  |  |  |  |  |  | 3.25%
Principal and interest payable term |  |  |  |  |  |  |  | 30 years |
Shares allocated to participants |  |  |  | 22,487 |  |  |  |  |
Shares unallocated in suspenses |  |  |  | 290,313 |  |  |  |  |
Aggregate fair value (in Dollars) |  |  |  | $ 3,700,000 |  |  |  |  |
Contribution expense (in Dollars) |  |  |  | $ 41,000 | $ 61,000 |  |  |  |
Subsequent Event [Member] |  |  |  |  |  |  |  |  |
STOCK-BASED COMPENSATION AND STOCK REPURCHASE PROGRAM (Details) [Line Items] |  |  |  |  |  |  |  |  |
Variable interest rate |  |  |  |  |  |  |  | 7.50% |
Restricted Stock [Member] |  |  |  |  |  |  |  |  |
STOCK-BASED COMPENSATION AND STOCK REPURCHASE PROGRAM (Details) [Line Items] |  |  |  |  |  |  |  |  |
Shares of restricted stock |  |  |  | 156,400 |  |  |  |  |

X
- Definition The amount of aggregate fair value. + References No definition available. + Details
Name: | mgyr_AggregateFairValue
Namespace Prefix: | mgyr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Equity compensation shares. + References No definition available. + Details
Name: | mgyr_EquityCompensationShares
Namespace Prefix: | mgyr_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Outstanding shares, percentage. + References No definition available. + Details
Name: | mgyr_OutstandingSharesPercentage
Namespace Prefix: | mgyr_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Principal and interest payable term. + References No definition available. + Details
Name: | mgyr_PrincipalAndInterestPayableTerm
Namespace Prefix: | mgyr_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition The shares allocated to participants. + References No definition available. + Details
Name: | mgyr_SharesAllocatedToParticipants
Namespace Prefix: | mgyr_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The shares unallocated in suspenses. + References No definition available. + Details
Name: | mgyr_SharesUnallocatedInSuspenses
Namespace Prefix: | mgyr_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Stock option rate percentage. + References No definition available. + Details
Name: | mgyr_StockOptionsRatePercentage
Namespace Prefix: | mgyr_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Stock options vest over service period. + References No definition available. + Details
Name: | mgyr_StockOptionsVestOverServicePeriod
Namespace Prefix: | mgyr_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Treasury yield in effect term. + References No definition available. + Details
Name: | mgyr_TreasuryYieldInEffectTerm
Namespace Prefix: | mgyr_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Total number of shares of other common stock instruments held by shareholders, such as exchangeable shares. May be all or portion of the number of common shares authorized. + References No definition available. + Details
Name: | us-gaap_CommonStockOtherSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Value of property contributed in noncash investing and financing activities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4313-108586 + Details
Name: | us-gaap_ContributionOfProperty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Variable interest rate in effect as of the balance sheet date related to the interest rate derivative. + References No definition available. + Details
Name: | us-gaap_DerivativeVariableInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of expense for employee benefit and equity-based compensation. + References No definition available. + Details
Name: | us-gaap_EmployeeBenefitsAndShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Price of a single share of a number of saleable stocks of a company. + References No definition available. + Details
Name: | us-gaap_SharePrice
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Per share or per unit amount of equity securities issued. + References No definition available. + Details
Name: | us-gaap_SharesIssuedPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The fair value of stock issued in noncash financing activities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4313-108586 + Details
Name: | us-gaap_StockIssued1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of shares of stock issued attributable to transactions classified as other. + References No definition available. + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Total number of shares issued during the period, including shares forfeited, as a result of Restricted Stock Awards. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of noncash expense for option under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_StockOptionPlanExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |