XML 62 R51.htm IDEA: XBRL DOCUMENT
v3.23.3

STOCK-BASED COMPENSATION AND STOCK REPURCHASE PROGRAM (Details) - Schedule of Components of the ESOP Shares - shares | 12 Months Ended
--- | ---
Sep. 30, 2023 | Sep. 30, 2022
Schedule of Components of the ESOP Shares [Abstract] |  |
Unreleased shares, beginning | 302,373 | 304,377
Shares released for allocation during the year | (12,060) | (10,427)
Total released shares | 182,485 |
Total ESOP shares | 472,798 |
Shares purchased by ESOP trustee during the year |  | 8,423
Unreleased shares, ending | 290,313 | 302,373

X
- Definition The number of shares released under the employee stock ownership plan. + References No definition available. + Details
Name: | mgyr_EmployeeStockOwnershipPlanReleasedShares
Namespace Prefix: | mgyr_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition Shares purchased by ESOP trustee during the year. + References No definition available. + Details
Name: | mgyr_SharesPurchasedByEsopTrusteeDuringYear
Namespace Prefix: | mgyr_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Shares released for allocation. + References No definition available. + Details
Name: | mgyr_SharesReleasedForAllocationDuringTheYear
Namespace Prefix: | mgyr_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The shares that, although not legally released, will be released by a future scheduled and committed debt service payment and will be allocated to employees for service rendered in the current accounting period. The ESOP documents typically define the period of service to which the shares relate. ESOP shares are released to compensate employees directly, to settle employer liabilities for other employee benefits, and to replace dividends on allocated shares that are used for debt service. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 40 -Section 50 -Paragraph 1 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480489/718-40-50-1 + Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPNumberOfCommittedToBeReleasedShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Sum of the allocated, committed-to-be-released and suspense shares of the entity held by the plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 40 -Section 50 -Paragraph 1 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480489/718-40-50-1 + Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant