SEC Info  
    Home      Search      My Interests      Help      Sign In      Please Sign In

Mackinac Financial Corp./MI – ‘10-K’ for 12/31/20 – ‘JSON’

On:  Friday, 3/12/21, at 10:52am ET   ·   For:  12/31/20   ·   Accession #:  1558370-21-2868   ·   File #:  0-20167

Previous ‘10-K’:  ‘10-K’ on 3/12/20 for 12/31/19   ·   Latest ‘10-K’:  This Filing   ·   12 References:   

Find Words in Filings emoji
 
  in    Show  and   Hints

  As Of               Filer                 Filing    For·On·As Docs:Size             Issuer                      Filing Agent

 3/12/21  Mackinac Financial Corp./MI       10-K       12/31/20  102:25M                                    Toppan Merrill Bridge/FA

Annual Report   —   Form 10-K
Filing Table of Contents

Document/Exhibit                   Description                      Pages   Size 

 1: 10-K        Annual Report                                       HTML   3.20M 
 2: EX-4.1      Instrument Defining the Rights of Security Holders  HTML     34K 
 3: EX-10.6     Material Contract                                   HTML     52K 
 4: EX-21       Subsidiaries List                                   HTML     25K 
 5: EX-23.1     Consent of Expert or Counsel                        HTML     26K 
 6: EX-31       Certification -- §302 - SOA'02                      HTML     39K 
 7: EX-32.1     Certification -- §906 - SOA'02                      HTML     28K 
 8: EX-32.2     Certification -- §906 - SOA'02                      HTML     28K 
15: R1          Document and Entity Information                     HTML     87K 
16: R2          Consolidated Balance Sheets                         HTML    123K 
17: R3          Consolidated Balance Sheets (Parenthetical)         HTML     34K 
18: R4          Consolidated Statements of Operations               HTML    130K 
19: R5          Consolidated Statements Comprehensive Income        HTML     65K 
20: R6          Consolidated Statements of Changes in               HTML     74K 
                Shareholders' Equity                                             
21: R7          Consolidated Statements of Cash Flows               HTML    121K 
22: R8          Summary of Significant Accounting Policies          HTML     92K 
23: R9          Restrictions on Cash and Cash Equivalents           HTML     29K 
24: R10         Securities Available for Sale                       HTML    322K 
25: R11         Loans                                               HTML   1.09M 
26: R12         Premises and Equipment                              HTML     49K 
27: R13         Other Real Estate Held for Sale                     HTML     49K 
28: R14         Deposits                                            HTML     60K 
29: R15         Goodwill and Other Intangible Assets                HTML     71K 
30: R16         Servicing Rights                                    HTML     59K 
31: R17         Borrowings                                          HTML     54K 
32: R18         Income Taxes                                        HTML    104K 
33: R19         Leases                                              HTML     51K 
34: R20         Retirement Plan                                     HTML     32K 
35: R21         Defined Benefit Pension Plan                        HTML     85K 
36: R22         Deferred Compensation Plan                          HTML     32K 
37: R23         Regulatory Matters                                  HTML    217K 
38: R24         Stock Compensation Plans                            HTML     62K 
39: R25         Shareholders' Equity                                HTML     29K 
40: R26         Commitments, Contingencies and Credit Risk          HTML     54K 
41: R27         Fair Value                                          HTML    359K 
42: R28         Parent Company Only Financial Statements            HTML    173K 
43: R29         Summary of Significant Accounting Policies          HTML    144K 
                (Policies)                                                       
44: R30         Summary of Significant Accounting Policies          HTML     55K 
                (Tables)                                                         
45: R31         Securities Available for Sale (Tables)              HTML    327K 
46: R32         Loans (Tables)                                      HTML   1.09M 
47: R33         Premises and Equipment (Tables)                     HTML     48K 
48: R34         Other Real Estate Held for Sale (Tables)            HTML     48K 
49: R35         Deposits (Tables)                                   HTML     61K 
50: R36         Goodwill and Other Intangible Assets (Tables)       HTML     68K 
51: R37         Servicing Rights (Tables)                           HTML     51K 
52: R38         Borrowings (Tables)                                 HTML     55K 
53: R39         Income Taxes (Tables)                               HTML    106K 
54: R40         Leases (Tables)                                     HTML     50K 
55: R41         Defined Benefit Pension Plan (Tables)               HTML     88K 
56: R42         Regulatory Matters (Tables)                         HTML    214K 
57: R43         Stock Compensation Plans (Tables)                   HTML     61K 
58: R44         Commitments, Contingencies, and Credit Risk         HTML     47K 
                (Tables)                                                         
59: R45         Fair Value (Tables)                                 HTML    352K 
60: R46         Parent Company Only Financial Statements (Tables)   HTML    175K 
61: R47         Summary of Significant Accounting Policies          HTML    102K 
                (Details)                                                        
62: R48         Restrictions on Cash and Cash Equivalents           HTML     32K 
                (Details)                                                        
63: R49         Securities Available for Sale (Details)             HTML     71K 
64: R50         Securities Available for Sale - by Contractual      HTML     75K 
                Maturity (Details)                                               
65: R51         Securities Available for Sale - Gross Unrealized    HTML     78K 
                Losses and Length of Time in Loss Position                       
                (Details)                                                        
66: R52         Loans (Details)                                     HTML    228K 
67: R53         Loans - Allowance (Details)                         HTML    171K 
68: R54         Loans - Loans by Risk Category (Details)            HTML    117K 
69: R55         Loans - Impaired Loans and Effect on Interest       HTML     78K 
                Income (Details)                                                 
70: R56         Loans - Past Due (Details)                          HTML     64K 
71: R57         Loans - Troubled Debt Restructuring (Details)       HTML     42K 
72: R58         Loans - Insider Loans (Details)                     HTML     44K 
73: R59         Premises and Equipment (Details)                    HTML     44K 
74: R60         Other Real Estate Held for Sale (Details)           HTML     42K 
75: R61         Deposits (Details)                                  HTML     56K 
76: R62         Goodwill and Other Intangible Assets (Details)      HTML     69K 
77: R63         Servicing Rights (Details)                          HTML     57K 
78: R64         Borrowings (Details)                                HTML     79K 
79: R65         Borrowings - Maturities (Details)                   HTML     40K 
80: R66         Income Taxes (Details)                              HTML     97K 
81: R67         Leases (Details)                                    HTML     60K 
82: R68         Retirement Plan (Details)                           HTML     33K 
83: R69         Defined Benefit Pension Plan (Details)              HTML    103K 
84: R70         Deferred Compensation Plan (Details)                HTML     44K 
85: R71         Regulatory Matters (Details)                        HTML     91K 
86: R72         Stock Compensation Plans (Details)                  HTML     74K 
87: R73         Shareholders' Equity (Details)                      HTML     51K 
88: R74         Commitments, Contingencies, and Credit Risk         HTML     42K 
                (Details)                                                        
89: R75         Commitments, Contingencies, and Credit Risk -       HTML     38K 
                Credit Risk (Details)                                            
90: R76         Fair Value (Details)                                HTML     88K 
91: R77         Fair Value - Other Assets and Other Liabilities     HTML     33K 
                (Details)                                                        
92: R78         Fair Value - Recurring (Details)                    HTML     49K 
93: R79         Fair Value - Level 3 Activities (Details)           HTML     44K 
94: R80         Fair Value - Nonrecurring Basis (Details)           HTML     45K 
95: R81         Parent Company Only Financial Statements - Balance  HTML     72K 
                Sheets (Details)                                                 
96: R82         Parent Company Only Financial Statements - Balance  HTML     37K 
                Sheets (Parenthetical) (Details)                                 
97: R83         Parent Company Only Financial Statements -          HTML     71K 
                Statement of Operations (Details)                                
98: R84         Parent Company Only Financial Statements - Cash     HTML     78K 
                Flows (Details)                                                  
100: XML         IDEA XML File -- Filing Summary                      XML    183K  
14: XML         XBRL Instance -- mfnc-20201231x10k_htm               XML   7.83M 
99: EXCEL       IDEA Workbook of Financial Reports                  XLSX    153K 
10: EX-101.CAL  XBRL Calculations -- mfnc-20201231_cal               XML    333K 
11: EX-101.DEF  XBRL Definitions -- mfnc-20201231_def                XML    949K 
12: EX-101.LAB  XBRL Labels -- mfnc-20201231_lab                     XML   2.08M 
13: EX-101.PRE  XBRL Presentations -- mfnc-20201231_pre              XML   1.55M 
 9: EX-101.SCH  XBRL Schema -- mfnc-20201231                         XSD    229K 
101: JSON        XBRL Instance as JSON Data -- MetaLinks              552±   830K  
102: ZIP         XBRL Zipped Folder -- 0001558370-21-002868-xbrl      Zip    577K  


‘JSON’   —   XBRL Instance as JSON Data — MetaLinks


This File is an XBRL Instance as JavaScript Object Notation (JSON) Data.



{
"instance":  {
    "mfnc-20201231x10k.htm":  {
        "axisCustom":  0,
        "axisStandard":  29,
        "contextCount":  449,
        "dts":  {
            "calculationLink":  {
                "local":  [
                    "mfnc-20201231_cal.xml"
                    ]
                },
            "definitionLink":  {
                "local":  [
                    "mfnc-20201231_def.xml"
                    ],
                "remote":  [
                    "http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-eedm-def-2020-01-31.xml",
                    "http://xbrl.fasb.org/srt/2020/elts/srt-eedm1-def-2020-01-31.xml"
                    ]
                },
            "inline":  {
                "local":  [
                    "mfnc-20201231x10k.htm"
                    ]
                },
            "labelLink":  {
                "local":  [
                    "mfnc-20201231_lab.xml"
                    ],
                "remote":  [
                    "http://xbrl.fasb.org/srt/2020/elts/srt-doc-2020-01-31.xml",
                    "https://xbrl.sec.gov/dei/2020/dei-doc-2020-01-31.xml",
                    "http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-doc-2020-01-31.xml"
                    ]
                },
            "presentationLink":  {
                "local":  [
                    "mfnc-20201231_pre.xml"
                    ]
                },
            "referenceLink":  {
                "remote":  [
                    "http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-ref-2020-01-31.xml",
                    "http://xbrl.fasb.org/srt/2020/elts/srt-ref-2020-01-31.xml",
                    "https://xbrl.sec.gov/dei/2020/dei-ref-2020-01-31.xml"
                    ]
                },
            "schema":  {
                "local":  [
                    "mfnc-20201231.xsd"
                    ],
                "remote":  [
                    "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
                    "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
                    "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
                    "http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd",
                    "http://xbrl.fasb.org/us-gaap/2020/elts/us-roles-2020-01-31.xsd",
                    "http://www.xbrl.org/2005/xbrldt-2005.xsd",
                    "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
                    "http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd",
                    "http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd",
                    "http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd",
                    "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
                    "http://xbrl.fasb.org/srt/2020/elts/srt-types-2020-01-31.xsd",
                    "http://xbrl.fasb.org/srt/2020/elts/srt-roles-2020-01-31.xsd",
                    "https://xbrl.sec.gov/country/2020/country-2020-01-31.xsd",
                    "http://xbrl.fasb.org/us-gaap/2020/elts/us-types-2020-01-31.xsd",
                    "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
                    "https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd",
                    "http://www.xbrl.org/lrr/role/deprecated-2009-12-16.xsd",
                    "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
                    "http://xbrl.fasb.org/us-gaap/2020/elts/us-parts-codification-2020-01-31.xsd"
                    ]
                }
            },
        "elementCount":  810,
        "entityCount":  1,
        "hidden":  {
            "http://fasb.org/us-gaap/2020-01-31":  14,
            "http://www.bankmbank.com/20201231":  3,
            "http://xbrl.sec.gov/dei/2020-01-31":  9,
            "total":  26
            },
        "keyCustom":  103,
        "keyStandard":  489,
        "memberCustom":  32,
        "memberStandard":  50,
        "nsprefix":  "mfnc",
        "nsuri":  "http://www.bankmbank.com/20201231",
        "report":  {
            "R1":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "dei:DocumentType",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "document",
                "isDefault":  "true",
                "longName":  "00090 - Document - Document and Entity Information",
                "role":  "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation",
                "shortName":  "Document and Entity Information",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "dei:DocumentType",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R10":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10301 - Disclosure - SECURITIES AVAILABLE FOR SALE",
                "role":  "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSale",
                "shortName":  "SECURITIES AVAILABLE FOR SALE",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R11":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FinancingReceivablesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10401 - Disclosure - LOANS",
                "role":  "http://www.bankmbank.com/role/DisclosureLoans",
                "shortName":  "LOANS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FinancingReceivablesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R12":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10501 - Disclosure - PREMISES AND EQUIPMENT",
                "role":  "http://www.bankmbank.com/role/DisclosurePremisesAndEquipment",
                "shortName":  "PREMISES AND EQUIPMENT",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R13":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RealEstateOwnedTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10601 - Disclosure - OTHER REAL ESTATE HELD FOR SALE",
                "role":  "http://www.bankmbank.com/role/DisclosureOtherRealEstateHeldForSale",
                "shortName":  "OTHER REAL ESTATE HELD FOR SALE",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RealEstateOwnedTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R14":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10701 - Disclosure - DEPOSITS",
                "role":  "http://www.bankmbank.com/role/DisclosureDeposits",
                "shortName":  "DEPOSITS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R15":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10801 - Disclosure - GOODWILL AND OTHER INTANGIBLE ASSETS",
                "role":  "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssets",
                "shortName":  "GOODWILL AND OTHER INTANGIBLE ASSETS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R16":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10901 - Disclosure - SERVICING RIGHTS",
                "role":  "http://www.bankmbank.com/role/DisclosureServicingRights",
                "shortName":  "SERVICING RIGHTS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R17":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11001 - Disclosure - BORROWINGS",
                "role":  "http://www.bankmbank.com/role/DisclosureBorrowings",
                "shortName":  "BORROWINGS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R18":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncomeTaxDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11101 - Disclosure - INCOME TAXES",
                "role":  "http://www.bankmbank.com/role/DisclosureIncomeTaxes",
                "shortName":  "INCOME TAXES",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncomeTaxDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R19":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LesseeOperatingLeasesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11201 - Disclosure - LEASES",
                "role":  "http://www.bankmbank.com/role/DisclosureLeases",
                "shortName":  "LEASES",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LesseeOperatingLeasesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R2":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:CashAndDueFromBanks",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00100 - Statement - CONSOLIDATED BALANCE SHEETS",
                "role":  "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets",
                "shortName":  "CONSOLIDATED BALANCE SHEETS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:CashAndDueFromBanks",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R20":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11301 - Disclosure - RETIREMENT PLAN",
                "role":  "http://www.bankmbank.com/role/DisclosureRetirementPlan",
                "shortName":  "RETIREMENT PLAN",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R21":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CompensationAndEmployeeBenefitPlansTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11401 - Disclosure - DEFINED BENEFIT PENSION PLAN",
                "role":  "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlan",
                "shortName":  "DEFINED BENEFIT PENSION PLAN",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CompensationAndEmployeeBenefitPlansTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R22":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CompensationRelatedCostsGeneralTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11501 - Disclosure - DEFERRED COMPENSATION PLAN",
                "role":  "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlan",
                "shortName":  "DEFERRED COMPENSATION PLAN",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CompensationRelatedCostsGeneralTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R23":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11601 - Disclosure - REGULATORY MATTERS",
                "role":  "http://www.bankmbank.com/role/DisclosureRegulatoryMatters",
                "shortName":  "REGULATORY MATTERS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R24":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11701 - Disclosure - STOCK COMPENSATION PLANS",
                "role":  "http://www.bankmbank.com/role/DisclosureStockCompensationPlans",
                "shortName":  "STOCK COMPENSATION PLANS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R25":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11801 - Disclosure - SHAREHOLDERS' EQUITY",
                "role":  "http://www.bankmbank.com/role/DisclosureShareholdersEquity",
                "shortName":  "SHAREHOLDERS' EQUITY",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R26":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11901 - Disclosure - COMMITMENTS, CONTINGENCIES AND CREDIT RISK",
                "role":  "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRisk",
                "shortName":  "COMMITMENTS, CONTINGENCIES AND CREDIT RISK",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R27":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "12001 - Disclosure - FAIR VALUE",
                "role":  "http://www.bankmbank.com/role/DisclosureFairValue",
                "shortName":  "FAIR VALUE",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R28":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "12101 - Disclosure - PARENT COMPANY ONLY FINANCIAL STATEMENTS",
                "role":  "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatements",
                "shortName":  "PARENT COMPANY ONLY FINANCIAL STATEMENTS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R29":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:SignificantAccountingPoliciesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "20102 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)",
                "role":  "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies",
                "shortName":  "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)",
                "subGroupType":  "policies",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:SignificantAccountingPoliciesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R3":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:CommonStockNoParValue",
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:CommonStockNoParValue",
                    "reportCount":  1,
                    "unitRef":  "Unit_Divide_USD_shares_lg38RYE2O02wVJ3u5OmbJg",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00105 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)",
                "role":  "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheetsParenthetical",
                "shortName":  "CONSOLIDATED BALANCE SHEETS (Parenthetical)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  null
                },
            "R30":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:EarningsPerSharePolicyTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30103 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables",
                "shortName":  "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:EarningsPerSharePolicyTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R31":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30303 - Disclosure - SECURITIES AVAILABLE FOR SALE (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleTables",
                "shortName":  "SECURITIES AVAILABLE FOR SALE (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R32":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:FinancingReceivablesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30403 - Disclosure - LOANS (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureLoansTables",
                "shortName":  "LOANS (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:FinancingReceivablesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R33":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30503 - Disclosure - PREMISES AND EQUIPMENT (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentTables",
                "shortName":  "PREMISES AND EQUIPMENT (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R34":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:RealEstateOwnedTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "mfnc:OtherRealEstateIncludingForeclosureRollForwardTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30603 - Disclosure - OTHER REAL ESTATE HELD FOR SALE (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureOtherRealEstateHeldForSaleTables",
                "shortName":  "OTHER REAL ESTATE HELD FOR SALE (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:RealEstateOwnedTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "mfnc:OtherRealEstateIncludingForeclosureRollForwardTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R35":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "mfnc:ScheduleOfDepositsTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30703 - Disclosure - DEPOSITS (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureDepositsTables",
                "shortName":  "DEPOSITS (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "mfnc:ScheduleOfDepositsTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R36":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30803 - Disclosure - GOODWILL AND OTHER INTANGIBLE ASSETS (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsTables",
                "shortName":  "GOODWILL AND OTHER INTANGIBLE ASSETS (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R37":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30903 - Disclosure - SERVICING RIGHTS (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureServicingRightsTables",
                "shortName":  "SERVICING RIGHTS (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R38":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:DebtDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31003 - Disclosure - BORROWINGS (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureBorrowingsTables",
                "shortName":  "BORROWINGS (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:DebtDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R39":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:IncomeTaxDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31103 - Disclosure - INCOME TAXES (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureIncomeTaxesTables",
                "shortName":  "INCOME TAXES (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:IncomeTaxDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R4":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:InterestAndFeeIncomeLoansAndLeasesTaxable",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00200 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS",
                "role":  "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations",
                "shortName":  "CONSOLIDATED STATEMENTS OF OPERATIONS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:InterestAndFeeIncomeLoansAndLeasesTaxable",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R40":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31203 - Disclosure - LEASES (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureLeasesTables",
                "shortName":  "LEASES (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R41":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:CompensationAndEmployeeBenefitPlansTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfExpectedBenefitPaymentsTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31403 - Disclosure - DEFINED BENEFIT PENSION PLAN (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanTables",
                "shortName":  "DEFINED BENEFIT PENSION PLAN (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:CompensationAndEmployeeBenefitPlansTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfExpectedBenefitPaymentsTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R42":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31603 - Disclosure - REGULATORY MATTERS (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureRegulatoryMattersTables",
                "shortName":  "REGULATORY MATTERS (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R43":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "mfnc:ScheduleOfRestrictedStockUnitsAwardsGrantedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31703 - Disclosure - STOCK COMPENSATION PLANS (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureStockCompensationPlansTables",
                "shortName":  "STOCK COMPENSATION PLANS (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "mfnc:ScheduleOfRestrictedStockUnitsAwardsGrantedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R44":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31903 - Disclosure - COMMITMENTS, CONTINGENCIES, AND CREDIT RISK (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskTables",
                "shortName":  "COMMITMENTS, CONTINGENCIES, AND CREDIT RISK (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R45":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "32003 - Disclosure - FAIR VALUE (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureFairValueTables",
                "shortName":  "FAIR VALUE (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R46":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "32103 - Disclosure - PARENT COMPANY ONLY FINANCIAL STATEMENTS (Tables)",
                "role":  "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsTables",
                "shortName":  "PARENT COMPANY ONLY FINANCIAL STATEMENTS (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R47":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "mfnc:NatureOfOperationsPolicyTextBlock",
                        "us-gaap:SignificantAccountingPoliciesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "3",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:PercentageOfRevenueFromExternalCustomersAttributedToForeignCountriesMaximum",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure_cwsUQ0OJNE2N4rpqSengTg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40101 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails",
                "shortName":  "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "mfnc:NatureOfOperationsPolicyTextBlock",
                        "us-gaap:SignificantAccountingPoliciesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "3",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:PercentageOfRevenueFromExternalCustomersAttributedToForeignCountriesMaximum",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure_cwsUQ0OJNE2N4rpqSengTg",
                    "xsiNil":  "false"
                    }
                },
            "R48":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:CashAndCashEquivalentsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_3_24_2020_To_3_24_2020_BzwNUMn0xk6nhnb5qWnO1w",
                    "decimals":  "2",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:ReductionOfReserveRatio",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure_cwsUQ0OJNE2N4rpqSengTg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40201 - Disclosure - RESTRICTIONS ON CASH AND CASH EQUIVALENTS (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureRestrictionsOnCashAndCashEquivalentsDetails",
                "shortName":  "RESTRICTIONS ON CASH AND CASH EQUIVALENTS (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:CashAndCashEquivalentsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_3_24_2020_To_3_24_2020_BzwNUMn0xk6nhnb5qWnO1w",
                    "decimals":  "2",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:ReductionOfReserveRatio",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure_cwsUQ0OJNE2N4rpqSengTg",
                    "xsiNil":  "false"
                    }
                },
            "R49":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40301 - Disclosure - SECURITIES AVAILABLE FOR SALE (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails",
                "shortName":  "SECURITIES AVAILABLE FOR SALE (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
                        "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_us-gaap_FinancialInstrumentAxis_us-gaap_AvailableforsaleSecuritiesMember_WrjRIcYXT0Gg8a16UnnDPQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R5":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:NetIncomeLoss",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00300 - Statement - CONSOLIDATED STATEMENTS COMPREHENSIVE INCOME",
                "role":  "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome",
                "shortName":  "CONSOLIDATED STATEMENTS COMPREHENSIVE INCOME",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R50":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfRealizedGainLossTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:AvailableForSaleSecuritiesGrossRealizedGainsLossesSalesAndCallsProceeds",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40302 - Disclosure - SECURITIES AVAILABLE FOR SALE - BY CONTRACTUAL MATURITY (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails",
                "shortName":  "SECURITIES AVAILABLE FOR SALE - BY CONTRACTUAL MATURITY (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfRealizedGainLossTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:AvailableForSaleSecuritiesGrossRealizedGainsLossesSalesAndCallsProceeds",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R51":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40303 - Disclosure - SECURITIES AVAILABLE FOR SALE - GROSS UNREALIZED LOSSES AND LENGTH OF TIME IN LOSS POSITION (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails",
                "shortName":  "SECURITIES AVAILABLE FOR SALE - GROSS UNREALIZED LOSSES AND LENGTH OF TIME IN LOSS POSITION (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R52":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40401 - Disclosure - LOANS (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureLoansDetails",
                "shortName":  "LOANS (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2018_CmspWyc4FECt3azJfxqjUw",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYield",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R53":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2019_xIThV3szA0-5UuFAuIbplw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:LoansAndLeasesReceivableAllowance",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40402 - Disclosure - LOANS - ALLOWANCE (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                "shortName":  "LOANS - ALLOWANCE (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:AllowanceForLoanAndLeaseLossesWriteOffs",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R54":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40403 - Disclosure - LOANS - LOANS BY RISK CATEGORY (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                "shortName":  "LOANS - LOANS BY RISK CATEGORY (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_srt_RangeAxis_srt_MinimumMember_coTq8R_zl0eja3BkW7-o5A",
                    "decimals":  "INF",
                    "lang":  null,
                    "name":  "mfnc:FinancingReceivableCreditQualityRiskRatingsForWhichGeneralReservesEstablishedIfNoSpecificReservesMade",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_item_MvlQsV0FQE2ELLMRAXlCqQ",
                    "xsiNil":  "false"
                    }
                },
            "R55":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "mfnc:FinancingReceivableNumberOfDaysPastDueToBeNonperforming",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40404 - Disclosure - LOANS - IMPAIRED LOANS AND EFFECT ON INTEREST INCOME (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails",
                "shortName":  "LOANS - IMPAIRED LOANS AND EFFECT ON INTEREST INCOME (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "mfnc:FinancingReceivableNumberOfDaysPastDueToBeNonperforming",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R56":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:PastDueFinancingReceivablesTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:FinancingReceivableRecordedInvestmentNonaccrualStatus",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40405 - Disclosure - LOANS - PAST DUE (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails",
                "shortName":  "LOANS - PAST DUE (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:PastDueFinancingReceivablesTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:FinancingReceivableRecordedInvestmentNonaccrualStatus",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R57":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:NumberOfConsecutiveTimelyPaymentsBeforeBeingConsideredReturnToAccruingStatus",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_item_MvlQsV0FQE2ELLMRAXlCqQ",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40406 - Disclosure - LOANS - TROUBLED DEBT RESTRUCTURING (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureLoansTroubledDebtRestructuringDetails",
                "shortName":  "LOANS - TROUBLED DEBT RESTRUCTURING (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:NumberOfConsecutiveTimelyPaymentsBeforeBeingConsideredReturnToAccruingStatus",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_item_MvlQsV0FQE2ELLMRAXlCqQ",
                    "xsiNil":  "false"
                    }
                },
            "R58":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "mfnc:ScheduleOfInsiderLoansRollForwardTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2019_xIThV3szA0-5UuFAuIbplw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:LoansAndLeasesReceivableRelatedParties",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40407 - Disclosure - LOANS - INSIDER LOANS (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails",
                "shortName":  "LOANS - INSIDER LOANS (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "mfnc:ScheduleOfInsiderLoansRollForwardTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:LoansAndLeasesReceivableRelatedPartiesAdditions",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R59":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:PropertyPlantAndEquipmentTextBlock",
                        "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:PropertyPlantAndEquipmentGross",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40501 - Disclosure - PREMISES AND EQUIPMENT (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails",
                "shortName":  "PREMISES AND EQUIPMENT (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:PropertyPlantAndEquipmentTextBlock",
                        "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:PropertyPlantAndEquipmentGross",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R6":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2018_us-gaap_StatementEquityComponentsAxis_us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember_8CTpJ822rUqoRmmRLrFWmA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:StockholdersEquity",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00400 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY",
                "role":  "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity",
                "shortName":  "CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2018_us-gaap_StatementEquityComponentsAxis_us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember_8CTpJ822rUqoRmmRLrFWmA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:StockholdersEquity",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R60":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2019_xIThV3szA0-5UuFAuIbplw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:OtherRealEstateAndForeclosedAssets",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40601 - Disclosure - OTHER REAL ESTATE HELD FOR SALE (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureOtherRealEstateHeldForSaleDetails",
                "shortName":  "OTHER REAL ESTATE HELD FOR SALE (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "mfnc:OtherRealEstateIncludingForeclosureRollForwardTableTextBlock",
                        "us-gaap:RealEstateOwnedTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "mfnc:OtherRealEstateTransferredFromLoansDueToForeclosure",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R61":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:NoninterestBearingDepositLiabilities",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40701 - Disclosure - DEPOSITS (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureDepositsDetails",
                "shortName":  "DEPOSITS (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "mfnc:ScheduleOfTimeDepositFiscalYearMaturityTableTextBlock",
                        "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:TimeDepositMaturitiesYearOne",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R62":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:Goodwill",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40801 - Disclosure - GOODWILL AND OTHER INTANGIBLE ASSETS (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails",
                "shortName":  "GOODWILL AND OTHER INTANGIBLE ASSETS (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
                        "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:AmortizationOfIntangibleAssets",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R63":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ServicingAssetAtAmortizedValueValuationAllowance",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40901 - Disclosure - SERVICING RIGHTS (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureServicingRightsDetails",
                "shortName":  "SERVICING RIGHTS (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ServicingAssetAtAmortizedValueValuationAllowance",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R64":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:DebtAndCapitalLeaseObligations",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41001 - Disclosure - BORROWINGS (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                "shortName":  "BORROWINGS (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
                        "us-gaap:DebtDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_us-gaap_LongtermDebtTypeAxis_us-gaap_FederalHomeLoanBankAdvancesMember_ZvbqYquB20ugzumdbLJkWg",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:DebtAndCapitalLeaseObligations",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R65":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41002 - Disclosure - BORROWINGS - MATURITIES (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureBorrowingsMaturitiesDetails",
                "shortName":  "BORROWINGS - MATURITIES (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R66":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
                        "us-gaap:IncomeTaxDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:CurrentIncomeTaxExpenseBenefit",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41101 - Disclosure - INCOME TAXES (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails",
                "shortName":  "INCOME TAXES (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
                        "us-gaap:IncomeTaxDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:CurrentIncomeTaxExpenseBenefit",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R67":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:LesseeOperatingLeasesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:NumberOfOperatingLeases",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_item_MvlQsV0FQE2ELLMRAXlCqQ",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41201 - Disclosure - LEASES (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureLeasesDetails",
                "shortName":  "LEASES (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:LesseeOperatingLeasesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:NumberOfOperatingLeases",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_item_MvlQsV0FQE2ELLMRAXlCqQ",
                    "xsiNil":  "false"
                    }
                },
            "R68":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "mfnc:DefinedContributionPlanRequisiteServicePeriod",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41301 - Disclosure - RETIREMENT PLAN (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureRetirementPlanDetails",
                "shortName":  "RETIREMENT PLAN (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "mfnc:DefinedContributionPlanRequisiteServicePeriod",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R69":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:ScheduleOfExpectedBenefitPaymentsTableTextBlock",
                        "us-gaap:CompensationAndEmployeeBenefitPlansTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:DefinedBenefitPensionDistributionPeriodOfTimeDisclosed",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_item_MvlQsV0FQE2ELLMRAXlCqQ",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41401 - Disclosure - DEFINED BENEFIT PENSION PLAN (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails",
                "shortName":  "DEFINED BENEFIT PENSION PLAN (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:ScheduleOfExpectedBenefitPaymentsTableTextBlock",
                        "us-gaap:CompensationAndEmployeeBenefitPlansTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:DefinedBenefitPensionDistributionPeriodOfTimeDisclosed",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_item_MvlQsV0FQE2ELLMRAXlCqQ",
                    "xsiNil":  "false"
                    }
                },
            "R7":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ProfitLoss",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00500 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS",
                "role":  "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows",
                "shortName":  "CONSOLIDATED STATEMENTS OF CASH FLOWS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:DepreciationAndAmortization",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R70":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "us-gaap:CompensationRelatedCostsGeneralTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:DeferredCompensationArrangementWithIndividualRecordedLiability",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41501 - Disclosure - DEFERRED COMPENSATION PLAN (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlanDetails",
                "shortName":  "DEFERRED COMPENSATION PLAN (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "us-gaap:CompensationRelatedCostsGeneralTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:DeferredCompensationArrangementWithIndividualRecordedLiability",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R71":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
                        "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_srt_ConsolidatedEntitiesAxis_us-gaap_ConsolidatedEntitiesMember_C4MQtoRTsECNq0hBAtJ-rQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:Capital",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41601 - Disclosure - REGULATORY MATTERS (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails",
                "shortName":  "REGULATORY MATTERS (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
                        "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_srt_ConsolidatedEntitiesAxis_us-gaap_ConsolidatedEntitiesMember_C4MQtoRTsECNq0hBAtJ-rQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:Capital",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R72":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfNonvestedShareActivityTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_shares_Rr90oBaDdUWunYLE3nWerg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41701 - Disclosure - STOCK COMPENSATION PLANS (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails",
                "shortName":  "STOCK COMPENSATION PLANS (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_10_1_2019_To_12_31_2019_7inwHV9amU-sMR_m60AC5A",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:AllocatedShareBasedCompensationExpense",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R73":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:NumberOfShareRepurchasePrograms",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_Program_UUvl_IZ3kUW7mS74QKzpag",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41801 - Disclosure - SHAREHOLDERS' EQUITY (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails",
                "shortName":  "SHAREHOLDERS' EQUITY (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:NumberOfShareRepurchasePrograms",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_Program_UUvl_IZ3kUW7mS74QKzpag",
                    "xsiNil":  "false"
                    }
                },
            "R74":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
                        "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:FairValueDisclosureOffbalanceSheetRisksAmountLiability",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41901 - Disclosure - COMMITMENTS, CONTINGENCIES, AND CREDIT RISK (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails",
                "shortName":  "COMMITMENTS, CONTINGENCIES, AND CREDIT RISK (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
                        "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:FairValueDisclosureOffbalanceSheetRisksAmountLiability",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R75":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:LoansAndLeasesReceivableNetReportedAmount",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41902 - Disclosure - COMMITMENTS, CONTINGENCIES, AND CREDIT RISK - CREDIT RISK (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails",
                "shortName":  "COMMITMENTS, CONTINGENCIES, AND CREDIT RISK - CREDIT RISK (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_srt_ConsolidatedEntitiesAxis_mfnc_MBankMember_us-gaap_ConcentrationRiskByBenchmarkAxis_us-gaap_CommercialPortfolioSegmentMember_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_CreditConcentrationRiskMember_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_us-gaap_CommercialRealEstateMember_DCea-4_sZ0u0mq_ZICWUVQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:LoansAndLeasesReceivableNetReportedAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R76":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:FairValueDisclosuresTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "2",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:NonaccrualLoansFairValueInputsBlendedInterestRate",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure_cwsUQ0OJNE2N4rpqSengTg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "42001 - Disclosure - FAIR VALUE (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                "shortName":  "FAIR VALUE (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:FairValueDisclosuresTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "2",
                    "first":  true,
                    "lang":  null,
                    "name":  "mfnc:NonaccrualLoansFairValueInputsBlendedInterestRate",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure_cwsUQ0OJNE2N4rpqSengTg",
                    "xsiNil":  "false"
                    }
                },
            "R77":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:OtherAssetsFairValueDisclosure",
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_JTlmoGYeskSrZKaEfr5_sQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:OtherAssetsFairValueDisclosure",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "42002 - Disclosure - FAIR VALUE - OTHER ASSETS AND OTHER LIABILITIES (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureFairValueOtherAssetsAndOtherLiabilitiesDetails",
                "shortName":  "FAIR VALUE - OTHER ASSETS AND OTHER LIABILITIES (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:OtherAssetsFairValueDisclosure",
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_JTlmoGYeskSrZKaEfr5_sQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:OtherAssetsFairValueDisclosure",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R78":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:MarketableSecurities",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "42003 - Disclosure - FAIR VALUE - RECURRING (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails",
                "shortName":  "FAIR VALUE - RECURRING (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_JTlmoGYeskSrZKaEfr5_sQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:MarketableSecurities",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R79":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2019_xIThV3szA0-5UuFAuIbplw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "42004 - Disclosure - FAIR VALUE - LEVEL 3 ACTIVITIES (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureFairValueLevel3ActivitiesDetails",
                "shortName":  "FAIR VALUE - LEVEL 3 ACTIVITIES (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2018_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_FinancialInstrumentAxis_us-gaap_CorporateDebtSecuritiesMember_77yL9UbEPkWlKGjemmQPiA",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R8":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SignificantAccountingPoliciesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10101 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES",
                "role":  "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPolicies",
                "shortName":  "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SignificantAccountingPoliciesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R80":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ImpairedFinancingReceivablesTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ImpairedFinancingReceivableRecordedInvestment",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "42005 - Disclosure - FAIR VALUE - NONRECURRING BASIS (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails",
                "shortName":  "FAIR VALUE - NONRECURRING BASIS (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsNonrecurringMember_NgplrbOAJkaQrDctrc12cQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:AssetsFairValueAdjustment",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R81":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:OtherAssets",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "42101 - Disclosure - PARENT COMPANY ONLY FINANCIAL STATEMENTS - BALANCE SHEETS (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                "shortName":  "PARENT COMPANY ONLY FINANCIAL STATEMENTS - BALANCE SHEETS (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
                        "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_srt_ConsolidatedEntitiesAxis_srt_ParentCompanyMember_o7wArkEV8EGv56PZuxvazg",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:CashAndCashEquivalentsAtCarryingValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R82":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:CommonStockNoParValue",
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_MIyzcMdH90aMKipkFvGrqw",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:CommonStockNoParValue",
                    "reportCount":  1,
                    "unitRef":  "Unit_Divide_USD_shares_lg38RYE2O02wVJ3u5OmbJg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "42102 - Disclosure - PARENT COMPANY ONLY FINANCIAL STATEMENTS - BALANCE SHEETS (Parenthetical) (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsParentheticalDetails",
                "shortName":  "PARENT COMPANY ONLY FINANCIAL STATEMENTS - BALANCE SHEETS (Parenthetical) (Details)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:CommonStockNoParValue",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
                        "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "As_Of_12_31_2020_srt_ConsolidatedEntitiesAxis_srt_ParentCompanyMember_o7wArkEV8EGv56PZuxvazg",
                    "decimals":  "INF",
                    "lang":  null,
                    "name":  "us-gaap:CommonStockNoParValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Divide_USD_shares_lg38RYE2O02wVJ3u5OmbJg",
                    "xsiNil":  "false"
                    }
                },
            "R83":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:InterestAndDividendIncomeOperating",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "42103 - Disclosure - PARENT COMPANY ONLY FINANCIAL STATEMENTS - STATEMENT OF OPERATIONS (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails",
                "shortName":  "PARENT COMPANY ONLY FINANCIAL STATEMENTS - STATEMENT OF OPERATIONS (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "srt:ScheduleOfCondensedIncomeStatementTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_srt_ConsolidatedEntitiesAxis_srt_ParentCompanyMember_wNP6bB2LD0amNZk4D2D4xQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:OtherIncome",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R84":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ProfitLoss",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "42104 - Disclosure - PARENT COMPANY ONLY FINANCIAL STATEMENTS - CASH FLOWS (Details)",
                "role":  "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                "shortName":  "PARENT COMPANY ONLY FINANCIAL STATEMENTS - CASH FLOWS (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "srt:ScheduleOfCondensedCashFlowStatementTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_srt_ConsolidatedEntitiesAxis_srt_ParentCompanyMember_wNP6bB2LD0amNZk4D2D4xQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:ProfitLoss",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_RYdv8KL6bUulfvUI3iOfWw",
                    "xsiNil":  "false"
                    }
                },
            "R9":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashAndCashEquivalentsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10201 - Disclosure - RESTRICTIONS ON CASH AND CASH EQUIVALENTS",
                "role":  "http://www.bankmbank.com/role/DisclosureRestrictionsOnCashAndCashEquivalents",
                "shortName":  "RESTRICTIONS ON CASH AND CASH EQUIVALENTS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "mfnc-20201231x10k.htm",
                    "contextRef":  "Duration_1_1_2020_To_12_31_2020_Sqpo0a6ky0uMp7f2cPrROQ",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashAndCashEquivalentsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                }
            },
        "segmentCount":  85,
        "tag":  {
            "dei_AmendmentFlag":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
                            "label":  "Amendment Flag"
                            }
                        }
                    },
                "localname":  "AmendmentFlag",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_CityAreaCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Area code of city",
                            "label":  "City Area Code"
                            }
                        }
                    },
                "localname":  "CityAreaCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_CoverAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Cover page.",
                            "label":  "Document and Entity Information"
                            }
                        }
                    },
                "localname":  "CoverAbstract",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "dei_CurrentFiscalYearEndDate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "End date of current fiscal year in the format --MM-DD.",
                            "label":  "Current Fiscal Year End Date"
                            }
                        }
                    },
                "localname":  "CurrentFiscalYearEndDate",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "gMonthDayItemType"
                },
            "dei_DocumentAnnualReport":  {
                "auth_ref":  [
                    "r698",
                    "r699",
                    "r700"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true only for a form used as an annual report.",
                            "label":  "Document Annual Report"
                            }
                        }
                    },
                "localname":  "DocumentAnnualReport",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_DocumentFiscalPeriodFocus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
                            "label":  "Document Fiscal Period Focus"
                            }
                        }
                    },
                "localname":  "DocumentFiscalPeriodFocus",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "fiscalPeriodItemType"
                },
            "dei_DocumentFiscalYearFocus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This is focus fiscal year of the document report in YYYY format.  For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus.  Example: 2006.",
                            "label":  "Document Fiscal Year Focus"
                            }
                        }
                    },
                "localname":  "DocumentFiscalYearFocus",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "gYearItemType"
                },
            "dei_DocumentPeriodEndDate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The end date of the period reflected on the cover page if a periodic report.  For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented.  If there is no historical data in the report, use the filing date.  The format of the date is YYYY-MM-DD.",
                            "label":  "Document Period End Date"
                            }
                        }
                    },
                "localname":  "DocumentPeriodEndDate",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "dateItemType"
                },
            "dei_DocumentTransitionReport":  {
                "auth_ref":  [
                    "r701"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true only for a form used as a transition report.",
                            "label":  "Document Transition Report"
                            }
                        }
                    },
                "localname":  "DocumentTransitionReport",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_DocumentType":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc).  The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
                            "label":  "Document Type"
                            }
                        }
                    },
                "localname":  "DocumentType",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "submissionTypeItemType"
                },
            "dei_EntityAddressAddressLine1":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Address Line 1 such as Attn, Building Name, Street Name",
                            "label":  "Entity Address, Address Line One"
                            }
                        }
                    },
                "localname":  "EntityAddressAddressLine1",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressCityOrTown":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the City or Town",
                            "label":  "Entity Address, City or Town"
                            }
                        }
                    },
                "localname":  "EntityAddressCityOrTown",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressPostalZipCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Code for the postal or zip code",
                            "label":  "Entity Address, Postal Zip Code"
                            }
                        }
                    },
                "localname":  "EntityAddressPostalZipCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressStateOrProvince":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the state or province.",
                            "label":  "Entity Address, State or Province"
                            }
                        }
                    },
                "localname":  "EntityAddressStateOrProvince",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "stateOrProvinceItemType"
                },
            "dei_EntityCentralIndexKey":  {
                "auth_ref":  [
                    "r702"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC.  It is commonly abbreviated as CIK.",
                            "label":  "Entity Central Index Key"
                            }
                        }
                    },
                "localname":  "EntityCentralIndexKey",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "centralIndexKeyItemType"
                },
            "dei_EntityCommonStockSharesOutstanding":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report.  Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
                            "label":  "Entity Common Stock, Shares Outstanding"
                            }
                        }
                    },
                "localname":  "EntityCommonStockSharesOutstanding",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "dei_EntityCurrentReportingStatus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days.  This information should be based on the registrant's current or most recent filing containing the related disclosure.",
                            "label":  "Entity Current Reporting Status"
                            }
                        }
                    },
                "localname":  "EntityCurrentReportingStatus",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_EntityEmergingGrowthCompany":  {
                "auth_ref":  [
                    "r702"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate if registrant meets the emerging growth company criteria.",
                            "label":  "Entity Emerging Growth Company"
                            }
                        }
                    },
                "localname":  "EntityEmergingGrowthCompany",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntityFileNumber":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Commission file number.  The field allows up to 17 characters.  The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
                            "label":  "Entity File Number"
                            }
                        }
                    },
                "localname":  "EntityFileNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "fileNumberItemType"
                },
            "dei_EntityFilerCategory":  {
                "auth_ref":  [
                    "r702"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate whether the registrant is one of the following:  Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer.  Definitions of these categories are stated in Rule 12b-2 of the Exchange Act.  This information should be based on the registrant's current or most recent filing containing the related disclosure.",
                            "label":  "Entity Filer Category"
                            }
                        }
                    },
                "localname":  "EntityFilerCategory",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "filerCategoryItemType"
                },
            "dei_EntityIncorporationStateCountryCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Two-character EDGAR code representing the state or country of incorporation.",
                            "label":  "Entity Incorporation, State or Country Code"
                            }
                        }
                    },
                "localname":  "EntityIncorporationStateCountryCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "edgarStateCountryItemType"
                },
            "dei_EntityInteractiveDataCurrent":  {
                "auth_ref":  [
                    "r703"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
                            "label":  "Entity Interactive Data Current"
                            }
                        }
                    },
                "localname":  "EntityInteractiveDataCurrent",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_EntityPublicFloat":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate market value of the voting and non-voting common equity held by non-affiliates computed by reference to the price at which the common equity was last sold, or the average bid and asked price of such common equity, as of the last business day of the registrant's most recently completed second fiscal quarter.",
                            "label":  "Entity Public Float"
                            }
                        }
                    },
                "localname":  "EntityPublicFloat",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "dei_EntityRegistrantName":  {
                "auth_ref":  [
                    "r702"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
                            "label":  "Entity Registrant Name"
                            }
                        }
                    },
                "localname":  "EntityRegistrantName",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityShellCompany":  {
                "auth_ref":  [
                    "r702"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
                            "label":  "Entity Shell Company"
                            }
                        }
                    },
                "localname":  "EntityShellCompany",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntitySmallBusiness":  {
                "auth_ref":  [
                    "r702"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicates that the company is a Smaller Reporting Company (SRC).",
                            "label":  "Entity Small Business"
                            }
                        }
                    },
                "localname":  "EntitySmallBusiness",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntityTaxIdentificationNumber":  {
                "auth_ref":  [
                    "r702"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
                            "label":  "Entity Tax Identification Number"
                            }
                        }
                    },
                "localname":  "EntityTaxIdentificationNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "employerIdItemType"
                },
            "dei_EntityVoluntaryFilers":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.",
                            "label":  "Entity Voluntary Filers"
                            }
                        }
                    },
                "localname":  "EntityVoluntaryFilers",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_EntityWellKnownSeasonedIssuer":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act.  Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
                            "label":  "Entity Well-known Seasoned Issuer"
                            }
                        }
                    },
                "localname":  "EntityWellKnownSeasonedIssuer",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_IcfrAuditorAttestationFlag":  {
                "auth_ref":  [
                    "r698",
                    "r699",
                    "r700"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "ICFR Auditor Attestation Flag"
                            }
                        }
                    },
                "localname":  "IcfrAuditorAttestationFlag",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_LocalPhoneNumber":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Local phone number for entity.",
                            "label":  "Local Phone Number"
                            }
                        }
                    },
                "localname":  "LocalPhoneNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_Security12bTitle":  {
                "auth_ref":  [
                    "r696"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Title of a 12(b) registered security.",
                            "label":  "Title of 12(b) Security"
                            }
                        }
                    },
                "localname":  "Security12bTitle",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "securityTitleItemType"
                },
            "dei_SecurityExchangeName":  {
                "auth_ref":  [
                    "r697"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the Exchange on which a security is registered.",
                            "label":  "Security Exchange Name"
                            }
                        }
                    },
                "localname":  "SecurityExchangeName",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "edgarExchangeCodeItemType"
                },
            "dei_TradingSymbol":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Trading symbol of an instrument as listed on an exchange.",
                            "label":  "Trading Symbol"
                            }
                        }
                    },
                "localname":  "TradingSymbol",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "tradingSymbolItemType"
                },
            "mfnc_AcceptableMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the category of financing receivables considered to be acceptable.",
                            "label":  "Acceptable [Member]",
                            "terseLabel":  "Acceptable"
                            }
                        }
                    },
                "localname":  "AcceptableMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_AcceptableWatchMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the category of financing receivables considered to be acceptable watch.",
                            "label":  "Acceptable Watch [Member]",
                            "terseLabel":  "Acceptable Watch"
                            }
                        }
                    },
                "localname":  "AcceptableWatchMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_AccruedInterestReceivableFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_AssetsFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the fair value of the accrued interest receivable by the entity.",
                            "label":  "Accrued Interest Receivable Fair Value Disclosure",
                            "terseLabel":  "Accrued interest receivable"
                            }
                        }
                    },
                "localname":  "AccruedInterestReceivableFairValueDisclosure",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPlanTax":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of tax, of accumulated other comprehensive (income) loss for defined benefit plan, that has not been recognized in net periodic benefit cost (credit).",
                            "label":  "Accumulated Other Comprehensive (Income) Loss, Defined Benefit Plan, Tax",
                            "terseLabel":  "Amount of tax on actuarial losses on the defined benefit pension obligation"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPlanTax",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_AcquiredImpairedLoansMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the information pertaining to acquired impaired loans.",
                            "label":  "Acquired Impaired Loans [Member]",
                            "terseLabel":  "Acquired Impaired"
                            }
                        }
                    },
                "localname":  "AcquiredImpairedLoansMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_AcquiredNonimpairedLoansMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the information pertaining to acquired nonimpaired loans.",
                            "label":  "Acquired Nonimpaired Loans [Member]",
                            "terseLabel":  "Acquired Non-impaired"
                            }
                        }
                    },
                "localname":  "AcquiredNonimpairedLoansMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_AdditionsFromLoansSoldWithServicingRetained":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Additions from loans sold with servicing retained.",
                            "label":  "Additions from loans sold with servicing retained",
                            "terseLabel":  "Additions from loans sold with servicing retained"
                            }
                        }
                    },
                "localname":  "AdditionsFromLoansSoldWithServicingRetained",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_AvailableForSaleSecuritiesDebtMaturitiesExcludingSecuritiesWithoutSingleMaturityDateAmortizedCost":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the amount of available-for-sale debt securities at cost, net of adjustments, excluding securities that do not have a single maturity date and which the entity has decided to disclose separately rather than allocating the cost over several maturity groupings.",
                            "label":  "Available For Sale Securities Debt Maturities Excluding Securities without Single Maturity Date Amortized Cost",
                            "totalLabel":  "Subtotal"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesExcludingSecuritiesWithoutSingleMaturityDateAmortizedCost",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_AvailableForSaleSecuritiesDebtMaturitiesExcludingSecuritiesWithoutSingleMaturityDateFairValue":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_MarketableSecurities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the amount of available-for-sale debt securities at fair value excluding securities that do not have a single maturity date and which the entity has decided to disclose separately rather than allocating the fair value over several maturity groupings.",
                            "label":  "Available For Sale Securities Debt Maturities Excluding Securities Without Single Maturity Date Fair Value",
                            "totalLabel":  "Subtotal"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesExcludingSecuritiesWithoutSingleMaturityDateFairValue",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_AvailableForSaleSecuritiesGrossRealizedGainsLossesSalesAndCallsProceeds":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The total amount of proceeds received from the sales and calls of securities which are classified as available-for-sale.",
                            "label":  "Available For Sale Securities Gross Realized Gains (Losses) Sales and Calls Proceeds",
                            "terseLabel":  "Proceeds from sales and calls"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesGrossRealizedGainsLossesSalesAndCallsProceeds",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_AverageMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the category of financing receivables considered to be average.",
                            "label":  "Average [Member]",
                            "terseLabel":  "Average (3)"
                            }
                        }
                    },
                "localname":  "AverageMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_BrokeredDeposits":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_Deposits",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the large-denomination bank deposit that is sold by a bank to a broker, which then divides it into smaller pieces for sale to its customers.",
                            "label":  "Brokered Deposits",
                            "terseLabel":  "Brokered"
                            }
                        }
                    },
                "localname":  "BrokeredDeposits",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_CashAndCashEquivalentsAtCarryingValueExcludingInterestBearingDeposits":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Cash and cash equivalents excluding interest bearing deposits.",
                            "label":  "Cash And Cash Equivalents, At Carrying Value Excluding Interest Bearing Deposits",
                            "totalLabel":  "Cash and cash equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsAtCarryingValueExcludingInterestBearingDeposits",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_CommercialConstructionLoanReceivablesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Commercial construction loan receivables.",
                            "label":  "Commercial Construction Loan Receivables [Member]",
                            "terseLabel":  "Commercial construction loan receivables [Member]"
                            }
                        }
                    },
                "localname":  "CommercialConstructionLoanReceivablesMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_CommercialFinancialAndAgriculturalLoansMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to financing receivables related to commercial, financial, and agricultural loans.",
                            "label":  "Commercial Financial And Agricultural Loans [Member]",
                            "terseLabel":  "Commercial, financial, and agricultural"
                            }
                        }
                    },
                "localname":  "CommercialFinancialAndAgriculturalLoansMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_CommercialLoansAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Commercial Loans [Abstract]",
                            "terseLabel":  "Commercial Loans"
                            }
                        }
                    },
                "localname":  "CommercialLoansAbstract",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "mfnc_CommercialLoansServicingAmount":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the amount of guaranteed portion of the commercial loans which was sold to a third party with servicing retained.",
                            "label":  "Commercial Loans Servicing Amount",
                            "terseLabel":  "Commercial Loans"
                            }
                        }
                    },
                "localname":  "CommercialLoansServicingAmount",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_CommercialLoansValuationOfServicingRights":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the fair value of servicing assets of commercial loans.",
                            "label":  "Commercial Loans Valuation of Servicing Rights",
                            "terseLabel":  "Servicing rights"
                            }
                        }
                    },
                "localname":  "CommercialLoansValuationOfServicingRights",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_CommonEquityTierOneRiskBasedCapital":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Common Equity Tier 1 capital as defined by regulations.",
                            "label":  "Common Equity Tier One Risk Based Capital",
                            "terseLabel":  "Common equity Tier 1 capital to risk weighted assets, Actual Amount"
                            }
                        }
                    },
                "localname":  "CommonEquityTierOneRiskBasedCapital",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_CommonEquityTierOneRiskBasedCapitalRequiredForCapitalAdequacy":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The minimum amount of Common Equity Tier 1 Leverage Capital required for capital adequacy purposes under the regulatory framework for prompt corrective action.",
                            "label":  "Common Equity Tier One Risk Based Capital Required For Capital Adequacy",
                            "terseLabel":  "Common equity Tier 1 capital to risk weighted assets, Minimum for Capital,Adequacy Purpose Amount"
                            }
                        }
                    },
                "localname":  "CommonEquityTierOneRiskBasedCapitalRequiredForCapitalAdequacy",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_CommonEquityTierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The minimum Common Equity Tier One Capital Ratio (Tier one capital divided by risk-weighted assets) required for capital adequacy purposes under the regulatory framework for prompt corrective action.",
                            "label":  "Common Equity Tier One Risk Based Capital Required For Capital Adequacy To Risk Weighted Assets",
                            "terseLabel":  "Common equity Tier 1 capital to risk weighted assets, Minimum for Capital Adequacy Adequacy Purpose Ratio (as a percent)"
                            }
                        }
                    },
                "localname":  "CommonEquityTierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "mfnc_CommonEquityTierOneRiskBasedCapitalRequiredToBeWellCapitalized":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of Common Equity Tier 1 Risk Based Capital required to be categorized as well capitalized under the regulatory framework for prompt corrective action.",
                            "label":  "Common Equity Tier One Risk Based Capital Required To Be Well Capitalized",
                            "terseLabel":  "Common equity Tier 1 capital to risk weighted assets, Well-Capitalized Amount"
                            }
                        }
                    },
                "localname":  "CommonEquityTierOneRiskBasedCapitalRequiredToBeWellCapitalized",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_CommonEquityTierOneRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The Common Equity Tier 1 capital ratio (Common Equity Tier 1 capital divided by risk weighted assets) required to be categorized as \"well capitalized\" under the regulatory framework for prompt corrective action.",
                            "label":  "Common Equity Tier One Risk Based Capital Required To Be Well Capitalized To Risk Weighted Assets",
                            "terseLabel":  "Common equity Tier 1 capital to risk weighted assets, Well-Capitalized Ratio (as a percent)"
                            }
                        }
                    },
                "localname":  "CommonEquityTierOneRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "mfnc_CommonEquityTierOneRiskBasedCapitalToRiskWeightedAssets":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Common Equity Tier 1 capital divided by risk weighted assets as defined by regulations.",
                            "label":  "Common Equity Tier One Risk Based Capital To Risk Weighted Assets",
                            "terseLabel":  "Common equity Tier 1 capital to risk weighted assets, Actual Ratio (as a percent)"
                            }
                        }
                    },
                "localname":  "CommonEquityTierOneRiskBasedCapitalToRiskWeightedAssets",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "mfnc_ConsumerConstructionLoansMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to financing receivables related to consumer construction loans.",
                            "label":  "Consumer Construction Loans [Member]",
                            "terseLabel":  "Consumer construction"
                            }
                        }
                    },
                "localname":  "ConsumerConstructionLoansMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_CreditCardCommitmentsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the unsecured commitments to borrowers for the credit cards issued by the entity.",
                            "label":  "Credit Card Commitments [Member]",
                            "terseLabel":  "Credit card commitments"
                            }
                        }
                    },
                "localname":  "CreditCardCommitmentsMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_DebtInstrumentFloorInterestRate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the floor rate on an interest rate debt instrument such as an interest rate floor.  If market rates falls below the floor rate, a payment or receipt is triggered on the contract.",
                            "label":  "Debt Instrument Floor Interest Rate",
                            "terseLabel":  "Floor rate (as a percent)"
                            }
                        }
                    },
                "localname":  "DebtInstrumentFloorInterestRate",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "mfnc_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedLossTax":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount tax, of unrealized gains 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).",
                            "label":  "Debt Securities, Available-for-sale, Accumulated Gross Unrealized Loss, Tax",
                            "terseLabel":  "Amount of tax on unrealized gains on available for sales securities"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedLossTax",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_DebtSecuritiesAvailableForSaleRestrictedAmortizedCost":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of restricted investment in debt security measured at amortized cost.",
                            "label":  "Debt Securities Available for Sale Restricted Amortized Cost",
                            "verboseLabel":  "Available for sale equity securities"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleRestrictedAmortizedCost",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_DeferredCompensationArrangementWithIndividualContractualTerm":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the period over which benefits are to be paid under the deferred compensation plan.",
                            "label":  "Deferred Compensation Arrangement with Individual Contractual Term",
                            "terseLabel":  "Original contractual term"
                            }
                        }
                    },
                "localname":  "DeferredCompensationArrangementWithIndividualContractualTerm",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlanDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "mfnc_DeferredTaxAssetsLeaseLiability":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_DeferredTaxAssetsGross",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from lease liability.",
                            "label":  "Deferred Tax Assets, Lease Liability",
                            "terseLabel":  "Lease liability"
                            }
                        }
                    },
                "localname":  "DeferredTaxAssetsLeaseLiability",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_DeferredTaxAssetsOtherRealEstateOwnedTaxBasisGreaterThanBookBasis":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_DeferredTaxAssetsGross",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from other real estate tax basis and book basis.",
                            "label":  "Deferred Tax Assets Other Real Estate Owned Tax Basis Greater than Book Basis",
                            "terseLabel":  "OREO"
                            }
                        }
                    },
                "localname":  "DeferredTaxAssetsOtherRealEstateOwnedTaxBasisGreaterThanBookBasis",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_DeferredTaxAssetsPurchaseAccountingAdjustments":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_DeferredTaxAssetsGross",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from purchase accounting adjustments including",
                            "label":  "Deferred Tax Assets Purchase Accounting Adjustments",
                            "terseLabel":  "Purchase accounting adjustments"
                            }
                        }
                    },
                "localname":  "DeferredTaxAssetsPurchaseAccountingAdjustments",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_DeferredTaxAssetsTaxPensionLiability":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_DeferredTaxAssetsGross",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before allocation of valuation allowances of deferred tax asset attributable to pension liability.",
                            "label":  "Deferred Tax Assets Tax Pension Liability",
                            "terseLabel":  "Pension Liability"
                            }
                        }
                    },
                "localname":  "DeferredTaxAssetsTaxPensionLiability",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_DeferredTaxExpenseNet":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Deferred tax expense, net including the utilization of a piece of the deferred tax asset.",
                            "label":  "Deferred Tax Expense Net",
                            "terseLabel":  "Deferred tax expense"
                            }
                        }
                    },
                "localname":  "DeferredTaxExpenseNet",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_DeferredTaxLiabilitiesCoreDepositPremium":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_DeferredIncomeTaxLiabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the amount of deferred tax liability attributable to taxable temporary differences from core deposit premium.",
                            "label":  "Deferred Tax Liabilities Core Deposit Premium",
                            "negatedLabel":  "Core deposit premium"
                            }
                        }
                    },
                "localname":  "DeferredTaxLiabilitiesCoreDepositPremium",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_DeferredTaxLiabilitiesFederalHomeLoanBankStockDividend":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_DeferredIncomeTaxLiabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the amount of deferred tax liability attributable to taxable temporary differences derived from dividend on stock held with Federal Home Loan Bank.",
                            "label":  "Deferred Tax Liabilities Federal Home Loan Bank Stock Dividend",
                            "negatedLabel":  "FHLB stock dividend"
                            }
                        }
                    },
                "localname":  "DeferredTaxLiabilitiesFederalHomeLoanBankStockDividend",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_DeferredTaxLiabilitiesRightOfUseAssets":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_DeferredIncomeTaxLiabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of deferred tax liability attributable to taxable temporary differences from Right of use assets.",
                            "label":  "Deferred Tax Liabilities, Right Of Use Assets",
                            "negatedLabel":  "Right of use assets"
                            }
                        }
                    },
                "localname":  "DeferredTaxLiabilitiesRightOfUseAssets",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_DefinedBenefitPensionDistributionPeriodOfTimeDisclosed":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the number of years over which the anticipated distributions on pension plans is being disclosed",
                            "label":  "Defined Benefit Pension Distribution Period of Time Disclosed",
                            "terseLabel":  "Number of years over which anticipated pension distributions disclosed"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPensionDistributionPeriodOfTimeDisclosed",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "mfnc_DefinedBenefitPlanExpectedFutureBenefitPayments":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of benefits from a defined benefit plan expected to be paid.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Defined Benefit Plan Expected Future Benefit Payments",
                            "totalLabel":  "Total"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanExpectedFutureBenefitPayments",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_DefinedContributionPlanEmployeeContributionLimitPercentageOfAnnualCompensation":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the limit of employee contribution to the plan per calendar year as a percentage of their annual compensation.",
                            "label":  "Defined Contribution Plan Employee Contribution Limit, Percentage of Annual Compensation",
                            "terseLabel":  "Employee's contribution limit as a percentage of annual compensation under the 401 (k) profit sharing plan"
                            }
                        }
                    },
                "localname":  "DefinedContributionPlanEmployeeContributionLimitPercentageOfAnnualCompensation",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRetirementPlanDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "mfnc_DefinedContributionPlanRequisiteAge":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the minimum age to be attained by the employees in order to participate in the retirement plan.",
                            "label":  "Defined Contribution Plan Requisite Age",
                            "terseLabel":  "Minimum age to be attained in order to participate in the retirement plan"
                            }
                        }
                    },
                "localname":  "DefinedContributionPlanRequisiteAge",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRetirementPlanDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "mfnc_DefinedContributionPlanRequisiteServicePeriod":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the minimum period of service to be completed by the employees in order to participate in the retirement plan.",
                            "label":  "Defined Contribution Plan Requisite Service Period",
                            "terseLabel":  "Minimum period of service to be completed in order to participate in the retirement plan"
                            }
                        }
                    },
                "localname":  "DefinedContributionPlanRequisiteServicePeriod",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRetirementPlanDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "mfnc_DemandDepositAccountPledgedAsCollateral":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the demand deposit accounts that serve as collateral for borrowings.",
                            "label":  "Demand Deposit Account Pledged as Collateral",
                            "terseLabel":  "Demand deposit account pledged as collateral"
                            }
                        }
                    },
                "localname":  "DemandDepositAccountPledgedAsCollateral",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_FairValueDisclosureOffBalanceSheetRisksAmountCurrentAssets":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the amount of fair value of commitments.",
                            "label":  "Fair Value Disclosure Off Balance Sheet Risks Amount Current Assets",
                            "terseLabel":  "Fair value of commitments"
                            }
                        }
                    },
                "localname":  "FairValueDisclosureOffBalanceSheetRisksAmountCurrentAssets",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_FairValueDisclosureOffBalanceSheetRisksAmountLiabilityAtFixedRate":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_FairValueDisclosureOffbalanceSheetRisksAmountLiability",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the fair value of financial liabilities at stated interest rates, which are not recognized in the financial statements (off-balance sheet) because they fail to meet some other criterion for recognition.",
                            "label":  "Fair Value Disclosure off Balance Sheet Risks Amount Liability at Fixed Rate",
                            "terseLabel":  "Fixed rate"
                            }
                        }
                    },
                "localname":  "FairValueDisclosureOffBalanceSheetRisksAmountLiabilityAtFixedRate",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_FairValueDisclosureOffBalanceSheetRisksAmountLiabilityAtVariableRate":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_FairValueDisclosureOffbalanceSheetRisksAmountLiability",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the fair value of financial liabilities at variable interest rates, which are not recognized in the financial statements (off-balance sheet) because they fail to meet some other criterion for recognition.",
                            "label":  "Fair Value Disclosure off Balance Sheet Risks Amount Liability at Variable Rate",
                            "terseLabel":  "Variable rate"
                            }
                        }
                    },
                "localname":  "FairValueDisclosureOffBalanceSheetRisksAmountLiabilityAtVariableRate",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_FairValueDisclosureOffBalanceSheetRisksPercentageCollateralizationOnFinancialInstrumentPermittedUnderCommitments":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the percentage collateralization on off-balance sheet financial instruments permitted under commitments.",
                            "label":  "Fair Value Disclosure Off Balance Sheet Risks Percentage Collateralization on Financial Instrument Permitted under Commitments",
                            "terseLabel":  "Percentage collateralization on financial instruments allowed under commitments"
                            }
                        }
                    },
                "localname":  "FairValueDisclosureOffBalanceSheetRisksPercentageCollateralizationOnFinancialInstrumentPermittedUnderCommitments",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "mfnc_FederalDepositInsuranceLimit":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Coverage Limit of Federal Deposit Insurance.",
                            "label":  "Federal Deposit Insurance Limit",
                            "terseLabel":  "Federal Deposit Insurance Limit"
                            }
                        }
                    },
                "localname":  "FederalDepositInsuranceLimit",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRestrictionsOnCashAndCashEquivalentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_FederalFundsPurchasedAndSoldTerm":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the term for which federal funds are purchased and sold.",
                            "label":  "Federal Funds Purchased and Sold Term",
                            "terseLabel":  "Number of days for which federal funds are purchased and sold"
                            }
                        }
                    },
                "localname":  "FederalFundsPurchasedAndSoldTerm",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "mfnc_FhlbMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents FHLB.",
                            "label":  "Fhlb [Member]",
                            "terseLabel":  "FHLB"
                            }
                        }
                    },
                "localname":  "FhlbMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_FinancingReceivableCreditQualityRiskRatingsForWhichGeneralReservesEstablished":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Credit risk rating for which general reserves are established based on the type of loan collateral, if any, and the assigned credit risk rating.",
                            "label":  "Financing Receivable Credit Quality Risk Ratings for which General Reserves Established",
                            "terseLabel":  "Credit risk rating for which general reserves are established"
                            }
                        }
                    },
                "localname":  "FinancingReceivableCreditQualityRiskRatingsForWhichGeneralReservesEstablished",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "mfnc_FinancingReceivableCreditQualityRiskRatingsForWhichGeneralReservesEstablishedIfNoSpecificReservesMade":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Credit risk rating for which general reserves are established if no specific reserves made.",
                            "label":  "Financing Receivable Credit Quality Risk Ratings for which General Reserves Established if No Specific Reserves Made",
                            "terseLabel":  "Credit risk rating for which reserves are established if no specific reserves made"
                            }
                        }
                    },
                "localname":  "FinancingReceivableCreditQualityRiskRatingsForWhichGeneralReservesEstablishedIfNoSpecificReservesMade",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "mfnc_FinancingReceivableNumberOfDaysPastDueToBeNonperforming":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of days past due to be considered as nonperforming loans.",
                            "label":  "Financing Receivable Number of Days Past Due to be Nonperforming",
                            "terseLabel":  "Number of days past due to be considered as nonperforming loans"
                            }
                        }
                    },
                "localname":  "FinancingReceivableNumberOfDaysPastDueToBeNonperforming",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "mfnc_FinancingReceivableRecordedInvestment30To89DaysPastDueAndStillAccruing":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_FinancingReceivableRecordedInvestmentPastDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the financing receivables that are less than 90 days past due but more than 30 days past due and still accruing.",
                            "label":  "Financing Receivable Recorded Investment 30 to 89 Days Past Due and Still Accruing",
                            "terseLabel":  "30-89 days Past Due (accruing)"
                            }
                        }
                    },
                "localname":  "FinancingReceivableRecordedInvestment30To89DaysPastDueAndStillAccruing",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_FinancingReceivables30To89DaysPastDueMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financing receivables that are more than 29 days past due but fewer than 90 days past due.",
                            "label":  "Financing Receivables30 To89 Days Past Due [Member]",
                            "terseLabel":  "30-89 days Past Due"
                            }
                        }
                    },
                "localname":  "FinancingReceivables30To89DaysPastDueMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_FinancingReceivables90DaysPastDue":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_FinancingReceivableRecordedInvestmentPastDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the financing receivables that are equal to more than 90 days past due.",
                            "label":  "Financing Receivables 90 +Days Past Due",
                            "terseLabel":  "90+ days Past Due"
                            }
                        }
                    },
                "localname":  "FinancingReceivables90DaysPastDue",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_FirstFederalOfNorthernMichiganBancorpIncMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the information pertaining to acquisition of First Federal of Northern Michigan Bancorp, Inc in Alpena, Michigan (\"FFNM\").",
                            "label":  "First Federal Of Northern Michigan Bancorp Inc [Member]",
                            "terseLabel":  "FFNM"
                            }
                        }
                    },
                "localname":  "FirstFederalOfNorthernMichiganBancorpIncMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlanDetails",
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_FirstNationalBankOfEagleRiverMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the information pertaining to acquisition of First National Bank of Eagle River (\"Eagle\").",
                            "label":  "First National Bank Of Eagle River [Member]",
                            "terseLabel":  "Eagle River"
                            }
                        }
                    },
                "localname":  "FirstNationalBankOfEagleRiverMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_FirstRuralRelendingMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to First Rural Relending, the wholly owned subsidiary of the entity.",
                            "label":  "First Rural Relending [Member]",
                            "terseLabel":  "First Rural Relending"
                            }
                        }
                    },
                "localname":  "FirstRuralRelendingMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_ForeclosedResidentialRealEstateProperty":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying amount as of the balance sheet date of foreclosed residential real estate property.",
                            "label":  "Foreclosed Residential Real Estate Property",
                            "terseLabel":  "Foreclosed residential real estate property"
                            }
                        }
                    },
                "localname":  "ForeclosedResidentialRealEstateProperty",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureOtherRealEstateHeldForSaleDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_FurnitureFixturesAndEquipmentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Equipment commonly used in offices and stores that have no permanent connection to the structure of a building or utility.  Also includes tangible personal property used to produce goods and services.",
                            "label":  "Furniture Fixtures And Equipment [Member]",
                            "terseLabel":  "Furniture, fixtures, and equipment"
                            }
                        }
                    },
                "localname":  "FurnitureFixturesAndEquipmentMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_GainLossOnSaleOfSecondaryMarketLoans":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This element represents gains (losses) on sale of secondary market loans included in earnings that represent the difference between the sale price and the carrying value of loans and leases that were sold during the reporting period.",
                            "label":  "Gain (Loss) on Sale of Secondary Market Loans",
                            "negatedLabel":  "(Gain) on sale of loans sold in the secondary market"
                            }
                        }
                    },
                "localname":  "GainLossOnSaleOfSecondaryMarketLoans",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_GainOnSaleOfLoan":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NoninterestIncome",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This element represents the net gain (loss) resulting from a sale of SBA/USDA loans, these SBA/USDA guaranteed loans are sold at a premium on the secondary market, with the Bank retaining the servicing.",
                            "label":  "Gain on Sale of Loan",
                            "terseLabel":  "SBA/USDA loan sale gains"
                            }
                        }
                    },
                "localname":  "GainOnSaleOfLoan",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_GainsLossesOnSalesOfPremisesEquipmentAndOtherRealEstateHeldForSale":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  9.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The net gain (loss) resulting from sales and other disposals of premises, equipment, and other real estate owned, increases (decreases) in the valuation allowance for foreclosed real estate, and write-downs of other real estate owned after acquisition or physical possession.",
                            "label":  "Gains (Losses) on Sales of Premises, Equipment and Other Real Estate Held For Sale",
                            "negatedLabel":  "(Gain) loss on sale other real estate held for sale and fixed assets"
                            }
                        }
                    },
                "localname":  "GainsLossesOnSalesOfPremisesEquipmentAndOtherRealEstateHeldForSale",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_GoodMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the category of financing receivables considered to be good.",
                            "label":  "Good [Member]",
                            "terseLabel":  "Good (2)"
                            }
                        }
                    },
                "localname":  "GoodMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_ImpairedAndNonimpairedLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldDuringPeriodTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the roll forward that is reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Impaired And Nonimpaired Loans Acquired In Transfer Not Accounted For As Debt Securities Accretable Yield During Period [Table Text Block]",
                            "terseLabel":  "Schedule of the accretable yield by acquisition"
                            }
                        }
                    },
                "localname":  "ImpairedAndNonimpairedLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldDuringPeriodTableTextBlock",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "mfnc_ImpairedAndNonimpairedLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the reconciliation of contractual cash flows to the carrying amount relating to impaired and non impaired loans acquired in a transfer.",
                            "label":  "Impaired And Nonimpaired Loans Acquired In Transfer Not Accounted For As Debt Securities Acquired During Period Table Text Block",
                            "terseLabel":  "Schedule of acquired portfolio at acquisition date"
                            }
                        }
                    },
                "localname":  "ImpairedAndNonimpairedLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodTableTextBlock",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "mfnc_ImpairedFinanceReceivablesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to impaired financing receivables.",
                            "label":  "Impaired Finance Receivables [Member]",
                            "terseLabel":  "Impaired loans"
                            }
                        }
                    },
                "localname":  "ImpairedFinanceReceivablesMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_IncentiveCompensationPlan2012Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the information pertaining to 2012 Incentive Compensation Plan of the entity.",
                            "label":  "Incentive Compensation Plan2012 [Member]",
                            "terseLabel":  "2012 Incentive Compensation Plan"
                            }
                        }
                    },
                "localname":  "IncentiveCompensationPlan2012Member",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_IncomeLossFromContinuingOperationsBeforeIncomeLossFromEquityMethodInvestments":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This element represents revenue less expenses from ongoing operations, after income taxes, but before income or loss from equity method investments.",
                            "label":  "Income (Loss) from Continuing Operations before Income (Loss) from Equity Method Investments",
                            "terseLabel":  "Loss before equity in net income of subsidiaries"
                            }
                        }
                    },
                "localname":  "IncomeLossFromContinuingOperationsBeforeIncomeLossFromEquityMethodInvestments",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_IncomeTaxOtherDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Income Tax Other Disclosure [Abstract]",
                            "terseLabel":  "INCOME TAXES"
                            }
                        }
                    },
                "localname":  "IncomeTaxOtherDisclosureAbstract",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "mfnc_InterestAndFeeIncomeLoansAndLeasesTaxExempt":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_InterestAndDividendIncomeOperating",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This element represents interest income derived from fees on loans which are exempt from federal income taxes.",
                            "label":  "Interest and Fee Income Loans and Leases Tax Exempt",
                            "terseLabel":  "Tax-exempt"
                            }
                        }
                    },
                "localname":  "InterestAndFeeIncomeLoansAndLeasesTaxExempt",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_InterestAndFeeIncomeLoansAndLeasesTaxable":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_InterestAndDividendIncomeOperating",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This element represents interest income derived from fees on loans which are subject to federal income taxes.",
                            "label":  "Interest and Fee Income Loans and Leases Taxable",
                            "terseLabel":  "Taxable"
                            }
                        }
                    },
                "localname":  "InterestAndFeeIncomeLoansAndLeasesTaxable",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_LiborRateAtPointOfTime":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "LIBOR rate at point of time.",
                            "label":  "LIBOR Rate At Point Of Time",
                            "terseLabel":  "LIBOR rate at point of time"
                            }
                        }
                    },
                "localname":  "LiborRateAtPointOfTime",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "mfnc_LincolnCommunityBankMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to Lincoln community Bank.",
                            "label":  "Lincoln Community Bank [Member]",
                            "terseLabel":  "Lincoln Community Bank"
                            }
                        }
                    },
                "localname":  "LincolnCommunityBankMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_LoanAndDepositExpense":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_NoninterestExpense",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This element represents expenses related to loan and deposit during the reporting period by reporting entity.",
                            "label":  "Loan and Deposit Expense",
                            "terseLabel":  "Loan origination expenses and deposit and card related fees"
                            }
                        }
                    },
                "localname":  "LoanAndDepositExpense",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_LoansAndLeasesReceivableCommercials":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of financing receivables before allowance of commercial loans and leases.",
                            "label":  "Loans And Leases Receivable Commercials",
                            "terseLabel":  "Commercial"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableCommercials",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_LoansAndLeasesReceivableConsumers":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of financing receivables before allowance of consumer loans.",
                            "label":  "Loans And Leases Receivable Consumers",
                            "terseLabel":  "Consumer"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableConsumers",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_LoansAndLeasesReceivableGrossMortgage":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before allowance of loan mortgage.  Includes deferred interest and fees, undisbursed portion of loan balance, unamortized costs and premiums and discounts from face amounts.  Excludes subordinated loans such as home equity lines of credit and loans and leases covered under loss sharing agreements.",
                            "label":  "Loans and Leases Receivable, Gross, Mortgage",
                            "terseLabel":  "Mortgage"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableGrossMortgage",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_LoansAndLeasesReceivableRelatedPartiesActivityOnRevolvingLinesOfCreditNet":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the net activity on revolving lines of credit in respect of loan and lease receivables made to related parties.",
                            "label":  "Loans and Leases Receivable, Related Parties Activity on Revolving Lines of Credit Net",
                            "terseLabel":  "Net activity on revolving lines of credit"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableRelatedPartiesActivityOnRevolvingLinesOfCreditNet",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_LoansAndLeasesReceivableRelatedPartiesChangeInStatus":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of change in status of insiders relating to loans and leases receivable due from related parties.",
                            "label":  "Loans and Leases Receivable, Related Parties, Change in Status",
                            "terseLabel":  "Change in status of insiders"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableRelatedPartiesChangeInStatus",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_LoansAndLeasesReceivableRelatedPartiesUnfundedCommitments":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the amount of unfunded commitments to grant loans or leases to related parties.",
                            "label":  "Loans and Leases Receivable, Related Parties Unfunded Commitments",
                            "terseLabel":  "Unfunded commitments"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableRelatedPartiesUnfundedCommitments",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_MBankMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to MBank, the principal banking subsidiary of the entity.",
                            "label":  "M Bank [Member]",
                            "terseLabel":  "Bank"
                            }
                        }
                    },
                "localname":  "MBankMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_MinimumCommitmentPeriodRequiredBeforeLoanCommitmentFeesOrCostsAreDeferred":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the minimum commitment period required before loan commitment fees or costs are deferred.",
                            "label":  "Minimum Commitment Period Required before Loan Commitment Fees or Costs are Deferred",
                            "terseLabel":  "Minimum commitment period required before loan commitment fees or costs are deferred"
                            }
                        }
                    },
                "localname":  "MinimumCommitmentPeriodRequiredBeforeLoanCommitmentFeesOrCostsAreDeferred",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "mfnc_MortgageBackedSecuritiesAndMunicipalSecuritiesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the securities collateralized by mortgage loans and municipal securities.",
                            "label":  "Mortgage Backed Securities And Municipal Securities [Member]",
                            "terseLabel":  "Mortgage related and municipal securities"
                            }
                        }
                    },
                "localname":  "MortgageBackedSecuritiesAndMunicipalSecuritiesMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_MortgageLoansAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Mortgage Loans [Abstract]",
                            "terseLabel":  "Mortgage Loans"
                            }
                        }
                    },
                "localname":  "MortgageLoansAbstract",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "mfnc_MortgageLoansServicingObligationAmount":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the amount of mortgage loans the entity has an obligation to service.",
                            "label":  "Mortgage Loans Servicing Obligation, Amount",
                            "terseLabel":  "Balance of loan servicing portfolio"
                            }
                        }
                    },
                "localname":  "MortgageLoansServicingObligationAmount",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_MortgageLoansServicingObligationAsPercentageOfPortfolio":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the percentage of mortgage loans the entity has an obligation to service.",
                            "label":  "Mortgage Loans Servicing Obligation As A Percentage of Portfolio",
                            "terseLabel":  "Mortgage servicing rights as % of portfolio"
                            }
                        }
                    },
                "localname":  "MortgageLoansServicingObligationAsPercentageOfPortfolio",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "mfnc_MortgageLoansServicingObligationFairValueAmount":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents fair value of servicing rights.",
                            "label":  "Mortgage Loans Servicing Obligation Fair Value Amount",
                            "terseLabel":  "Fair value of servicing rights"
                            }
                        }
                    },
                "localname":  "MortgageLoansServicingObligationFairValueAmount",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_MortgageServicingIncomesExpenses":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NoninterestIncome",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Incomes or expenses from mortgage services.",
                            "label":  "Mortgage Servicing Incomes Expenses",
                            "terseLabel":  "Net mortgage servicing fees"
                            }
                        }
                    },
                "localname":  "MortgageServicingIncomesExpenses",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_NatureOfOperationsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "No definition available.",
                            "label":  "Nature Of Operations [Abstract]",
                            "terseLabel":  "Nature of Operations"
                            }
                        }
                    },
                "localname":  "NatureOfOperationsAbstract",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "mfnc_NatureOfOperationsPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for the nature of operations of an entity's business.",
                            "label":  "Nature of Operations [Policy Text Block]",
                            "terseLabel":  "Nature of Operations"
                            }
                        }
                    },
                "localname":  "NatureOfOperationsPolicyTextBlock",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "mfnc_NiagaraBancorporationMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information relating to acquisition of Niagara Bancorporation (\"Niagara\"), the holding company for First National Bank of Niagara, headquarter in Niagara, WI.",
                            "label":  "Niagara Bancorporation [Member]",
                            "terseLabel":  "Niagara Bancorporation"
                            }
                        }
                    },
                "localname":  "NiagaraBancorporationMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_NonaccrualLoansFairValueInputsBlendedInterestRate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The blended interest rate used in determining the fair value of nonaccrual loans.",
                            "label":  "Nonaccrual Loans Fair Value Inputs Blended Interest Rate",
                            "terseLabel":  "Blended interest rate for determining fair value of nonaccrual loans (as a percent)"
                            }
                        }
                    },
                "localname":  "NonaccrualLoansFairValueInputsBlendedInterestRate",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "mfnc_NowAccountsMoneyMarketAccountsAndCheckingDeposits":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Deposits",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This element represents NOW, money market, interest checking.",
                            "label":  "Now Accounts Money Market Accounts and Checking Deposits",
                            "terseLabel":  "NOW, money market, interest checking",
                            "verboseLabel":  "NOW, money market, interest checking"
                            }
                        }
                    },
                "localname":  "NowAccountsMoneyMarketAccountsAndCheckingDeposits",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_NumberOfBankingBorrowingRelationship":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of banking borrowing relationships.",
                            "label":  "Number Of Banking Borrowing Relationship",
                            "terseLabel":  "Number of banking borrowing relationships"
                            }
                        }
                    },
                "localname":  "NumberOfBankingBorrowingRelationship",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "mfnc_NumberOfConsecutiveTimelyPaymentsBeforeBeingConsideredReturnToAccruingStatus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of consecutive timely payments before the Company would consider a return of a restructured loan to accruing status in accordance with FDIC guidelines regarding restoration of credits to accrual status.",
                            "label":  "Number of Consecutive Timely Payments Before Being Considered Return To Accruing Status",
                            "terseLabel":  "Number of consecutive timely payments before being considered return to accruing status"
                            }
                        }
                    },
                "localname":  "NumberOfConsecutiveTimelyPaymentsBeforeBeingConsideredReturnToAccruingStatus",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTroubledDebtRestructuringDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "mfnc_NumberOfOperatingLeases":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of operating leases.",
                            "label":  "Number Of Operating Leases",
                            "terseLabel":  "Number of operating leases"
                            }
                        }
                    },
                "localname":  "NumberOfOperatingLeases",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "decimalItemType"
                },
            "mfnc_NumberOfShareRepurchaseProgramExpired":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of share repurchase program expired.",
                            "label":  "Number of Share Repurchase Program Expired",
                            "terseLabel":  "Number of share repurchase program expired"
                            }
                        }
                    },
                "localname":  "NumberOfShareRepurchaseProgramExpired",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "mfnc_NumberOfShareRepurchasePrograms":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the number of share repurchase programs.",
                            "label":  "Number of Share Repurchase Programs",
                            "terseLabel":  "Number of share repurchase programs"
                            }
                        }
                    },
                "localname":  "NumberOfShareRepurchasePrograms",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "mfnc_OneToFourFamilyResidentialRealEstateLoansMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the class of financing receivable related to one to four family residential real estate loans.",
                            "label":  "One To Four Family Residential Real Estate Loans [Member]",
                            "terseLabel":  "One to four family residential real estate"
                            }
                        }
                    },
                "localname":  "OneToFourFamilyResidentialRealEstateLoansMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_OperatingLossCarryforwardsAnnualLimitForUtilization":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the amount of operating loss carryforwards that can be utilized to reduce future taxable income annually.",
                            "label":  "Operating Loss Carryforwards Annual Limit for Utilization",
                            "terseLabel":  "Annual limitation for usage of NOL"
                            }
                        }
                    },
                "localname":  "OperatingLossCarryforwardsAnnualLimitForUtilization",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_OperatingLossCarryforwardsExpirationPeriod":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the period in which operating loss carryforwards expire from the date of origination.",
                            "label":  "Operating Loss Carryforwards Expiration Period",
                            "terseLabel":  "Expiration period from date of origination for net operating loss carryforwards"
                            }
                        }
                    },
                "localname":  "OperatingLossCarryforwardsExpirationPeriod",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "mfnc_OtherRealEstateAndForeclosedAssetsRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Other Real Estate and Foreclosed Assets [Roll Forward]",
                            "terseLabel":  "Changes in other real estate held for sale"
                            }
                        }
                    },
                "localname":  "OtherRealEstateAndForeclosedAssetsRollForward",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureOtherRealEstateHeldForSaleDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "mfnc_OtherRealEstateHeldForSalePolicy":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of the accounting policy for reporting other real estate held for sale which consists of assets acquired through foreclosure and other long lived assets whether previously held and used or newly acquired to be disposed of by sale.",
                            "label":  "Other Real Estate Held- for-Sale Policy [Policy Text Block]",
                            "terseLabel":  "Other Real Estate Held for Sale"
                            }
                        }
                    },
                "localname":  "OtherRealEstateHeldForSalePolicy",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "mfnc_OtherRealEstateIncludingForeclosureRollForwardTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the change in other real estate and foreclosed assets.",
                            "label":  "Other Real Estate Including Foreclosure Roll Forward [Table Text Block]",
                            "terseLabel":  "Schedule of analysis of other real estate held for sale"
                            }
                        }
                    },
                "localname":  "OtherRealEstateIncludingForeclosureRollForwardTableTextBlock",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureOtherRealEstateHeldForSaleTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "mfnc_OtherRealEstateIncludingForeclosureWritedown":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the writedowns of other real estate held for sale, including assets acquired through foreclosure during the period.",
                            "label":  "Other Real Estate Including Foreclosure Writedown",
                            "negatedLabel":  "Writedowns of other real estate held for sale"
                            }
                        }
                    },
                "localname":  "OtherRealEstateIncludingForeclosureWritedown",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureOtherRealEstateHeldForSaleDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_OtherRealEstateOwnedMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to other real estate owned.",
                            "label":  "Other Real Estate Owned [Member]",
                            "terseLabel":  "Other real estate owned"
                            }
                        }
                    },
                "localname":  "OtherRealEstateOwnedMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_OtherRealEstateTransferToPremisesAndEquipment":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of real estate transferred to premises and equipment.",
                            "label":  "Other Real Estate Transfer to Premises and Equipment",
                            "terseLabel":  "Transfer to premise and equipment"
                            }
                        }
                    },
                "localname":  "OtherRealEstateTransferToPremisesAndEquipment",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureOtherRealEstateHeldForSaleDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_OtherRealEstateTransferredFromLoansDueToForeclosure":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Other real estate transferred from loans due to foreclosure.",
                            "label":  "Other real estate transferred from loans due to foreclosure",
                            "terseLabel":  "Other real estate transferred from loans due to foreclosure"
                            }
                        }
                    },
                "localname":  "OtherRealEstateTransferredFromLoansDueToForeclosure",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureOtherRealEstateHeldForSaleDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_PaycheckProtectionProgramLoanMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents paycheck protection program loan",
                            "label":  "Paycheck Protection Program Loan [Member]",
                            "terseLabel":  "Paycheck Protection Program Loan"
                            }
                        }
                    },
                "localname":  "PaycheckProtectionProgramLoanMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTroubledDebtRestructuringDetails",
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_PaycheckProtectionProgramPppLoans":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of Paycheck Protection Program (\"PPP\") loans outstanding.",
                            "label":  "Paycheck Protection Program PPP Loans",
                            "terseLabel":  "Paycheck Protection Program (\"PPP\") loans"
                            }
                        }
                    },
                "localname":  "PaycheckProtectionProgramPppLoans",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_PeninsulaFinancialCorporationMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to Peninsula Financial Corporation.",
                            "label":  "Peninsula Financial Corporation [Member]",
                            "terseLabel":  "PFC"
                            }
                        }
                    },
                "localname":  "PeninsulaFinancialCorporationMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlanDetails",
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_PercentageOfRevenueFromExternalCustomersAttributedToForeignCountriesMaximum":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the maximum percentage of revenues from external customers attributed to foreign countries from which the entity derives revenues.",
                            "label":  "Percentage Of Revenue From External Customers Attributed To Foreign Countries Maximum",
                            "terseLabel":  "Maximum percentage of the entity's business activity with Canadian customers denominated in Canadian dollars"
                            }
                        }
                    },
                "localname":  "PercentageOfRevenueFromExternalCustomersAttributedToForeignCountriesMaximum",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "mfnc_PercentageOfTotalLoansInPaymentDeferral":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage of total loans in payment deferral excluding commercial loans.",
                            "label":  "Percentage of Total Loans, in Payment Deferral",
                            "terseLabel":  "Percentage of total loans (as percent)"
                            }
                        }
                    },
                "localname":  "PercentageOfTotalLoansInPaymentDeferral",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTroubledDebtRestructuringDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "mfnc_ProceedsFromTermBorrowings":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow from term borrowings.",
                            "label":  "Proceeds From Term Borrowings",
                            "terseLabel":  "Proceeds from term borrowing"
                            }
                        }
                    },
                "localname":  "ProceedsFromTermBorrowings",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_PurchasePriceAllocationDecreaseDeferredTaxLiability":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Purchase price allocation decrease deferred tax liability.",
                            "label":  "Purchase Price Allocation Decrease Deferred Tax Liability",
                            "terseLabel":  "Decrease deferred tax liability"
                            }
                        }
                    },
                "localname":  "PurchasePriceAllocationDecreaseDeferredTaxLiability",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_PurchasePriceAllocationDecreaseGoodwill":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Purchase price allocation decrease goodwill.",
                            "label":  "Purchase Price Allocation Decrease Goodwill",
                            "terseLabel":  "Decrease Goodwill"
                            }
                        }
                    },
                "localname":  "PurchasePriceAllocationDecreaseGoodwill",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_PurchasePriceAllocationIncreaseDeferredTaxAsset":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Purchase Price allocation increase deferred tax asset.",
                            "label":  "Purchase Price Allocation Increase Deferred Tax Asset",
                            "terseLabel":  "Increase deferred tax asset"
                            }
                        }
                    },
                "localname":  "PurchasePriceAllocationIncreaseDeferredTaxAsset",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_RatingUnassignedMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the category of financing receivables for which ratings have not been assigned.",
                            "label":  "Rating Unassigned [Member]",
                            "terseLabel":  "Rating Unassigned"
                            }
                        }
                    },
                "localname":  "RatingUnassignedMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_ReductionOfReserveRatio":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information pertaining to reduction of reserve requirement ratios.",
                            "label":  "Reduction Of Reserve Ratio",
                            "terseLabel":  "Reduction of reserve ratio"
                            }
                        }
                    },
                "localname":  "ReductionOfReserveRatio",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRestrictionsOnCashAndCashEquivalentsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "mfnc_RelatedPartyMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to Related Party amount.",
                            "label":  "Related Party [Member]",
                            "terseLabel":  "Related Party"
                            }
                        }
                    },
                "localname":  "RelatedPartyMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_ScheduleOfDepositsTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of deposit liabilities held by the entity.",
                            "label":  "Schedule of Deposits [Table Text Block]",
                            "terseLabel":  "Schedule of distribution of deposits"
                            }
                        }
                    },
                "localname":  "ScheduleOfDepositsTableTextBlock",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "mfnc_ScheduleOfInsiderLoansRollForwardTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the change in insider loans.",
                            "label":  "Schedule of Insider Loans Roll Forward [Table Text Block]",
                            "terseLabel":  "Schedule of activity in insider loans granted to the entity's executive officers and directors, including their families and firms"
                            }
                        }
                    },
                "localname":  "ScheduleOfInsiderLoansRollForwardTableTextBlock",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "mfnc_ScheduleOfMarketableSecuritiesTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about investment in marketable security.",
                            "label":  "Schedule of Marketable Securities [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfMarketableSecuritiesTable",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "mfnc_ScheduleOfProjectedBenefitObligationPlanAssetsFundedStatusAndAmountsRecognizedInBalanceSheetTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the change in the benefit obligation, fair value of plan assets, funded status and amounts that are recognized in the balance sheet (or statement of financial position) for pension plans or other employee benefit plans.",
                            "label":  "Schedule Of Projected Benefit Obligation Plan Assets Funded Status And Amounts Recognized In Balance Sheet [Table Text Block]",
                            "terseLabel":  "Schedule of funded status, amounts recognized in the balance sheets and activity from the date of acquisition"
                            }
                        }
                    },
                "localname":  "ScheduleOfProjectedBenefitObligationPlanAssetsFundedStatusAndAmountsRecognizedInBalanceSheetTableTextBlock",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "mfnc_ScheduleOfRestrictedStockUnitsAwardsGrantedTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of restricted stock units award granted which vest equally over the award terms.",
                            "label":  "Schedule Of Restricted Stock Units Awards Granted Table Text Block",
                            "terseLabel":  "Summary of restricted stock units awards granted"
                            }
                        }
                    },
                "localname":  "ScheduleOfRestrictedStockUnitsAwardsGrantedTableTextBlock",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "mfnc_ScheduleOfStockholdersEquityLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Schedule of Stockholders Equity [Line Items]",
                            "terseLabel":  "Participation in the TARP Capital Purchase Program"
                            }
                        }
                    },
                "localname":  "ScheduleOfStockholdersEquityLineItems",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "mfnc_ScheduleOfStockholdersEquityTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information pertaining to changes in stockholders' equity during the period.",
                            "label":  "Schedule of Stockholders Equity [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfStockholdersEquityTable",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "mfnc_ScheduleOfTimeDepositFiscalYearMaturityTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the aggregate amount of payments due on time deposits for the five years and thereafter following the date of the latest balance sheet and the combined aggregate amount of maturities of time deposits.",
                            "label":  "Schedule of Time Deposit Fiscal Year Maturity [Table Text Block]",
                            "terseLabel":  "Schedule of maturities of non-brokered time deposits outstanding"
                            }
                        }
                    },
                "localname":  "ScheduleOfTimeDepositFiscalYearMaturityTableTextBlock",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "mfnc_SecurityOwnedAndPledgedAsCollateralCost":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Cost of financial instrument held by the entity for its own account (proprietary securities) for trading or investment purposes that are carried at cost and pledged to counterparties as collateral for financing transactions.",
                            "label":  "Security Owned and Pledged as Collateral Cost",
                            "terseLabel":  "Stock owned and pledged as collateral"
                            }
                        }
                    },
                "localname":  "SecurityOwnedAndPledgedAsCollateralCost",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_ShareRepurchaseProgramExpiredMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Share Repurchase Program Expired Member.",
                            "label":  "Share Repurchase Program Expired [Member]",
                            "terseLabel":  "Share Repurchase Program Expired"
                            }
                        }
                    },
                "localname":  "ShareRepurchaseProgramExpiredMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_ShareRepurchaseProgramTwoMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the information about share repurchase program two.",
                            "label":  "Share Repurchase Program Two [Member]",
                            "terseLabel":  "Share Repurchase Program Two"
                            }
                        }
                    },
                "localname":  "ShareRepurchaseProgramTwoMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_StockRepurchaseProgramAdditionalAuthorizedAmount":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the additional amount of a stock repurchase plan authorized by the entity's Board of Directors.",
                            "label":  "Stock Repurchase Program Additional Authorized Amount",
                            "verboseLabel":  "Additional amount authorized to be repurchased"
                            }
                        }
                    },
                "localname":  "StockRepurchaseProgramAdditionalAuthorizedAmount",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_StockRepurchaseProgramPercentageOfSharesAuthorizedToBeRepurchased":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The percentage of outstanding common shares authorized to be repurchased by an entity's Board of Directors under a stock repurchase plan.",
                            "label":  "Stock Repurchase Program, Percentage of Shares Authorized to be Repurchased",
                            "terseLabel":  "Percentage of outstanding common stock authorized to repurchase"
                            }
                        }
                    },
                "localname":  "StockRepurchaseProgramPercentageOfSharesAuthorizedToBeRepurchased",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "mfnc_StrongMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the category of financing receivables considered to be strong.",
                            "label":  "Strong [Member]",
                            "terseLabel":  "Strong (1)"
                            }
                        }
                    },
                "localname":  "StrongMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_SupplementalCashFlowInformationCashPaidDuringPeriodAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Supplemental Cash Flow Information Cash Paid During Period [Abstract]",
                            "terseLabel":  "Cash paid during the year for:"
                            }
                        }
                    },
                "localname":  "SupplementalCashFlowInformationCashPaidDuringPeriodAbstract",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "mfnc_TaxCreditCarryforwardsAnnualLimitForUtilization":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the amount of tax credit carryforwards that can be utilized to reduce future income tax annually.",
                            "label":  "Tax Credit Carryforwards Annual Limit for Utilization",
                            "terseLabel":  "Annual limitation for usage of tax credits"
                            }
                        }
                    },
                "localname":  "TaxCreditCarryforwardsAnnualLimitForUtilization",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_TimeDeposits250000OrMore":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_Deposits",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate amount of domestic and foreign time deposit liabilities (including certificates of deposits, individual retirement accounts and open accounts) in denominations of $250,000 or more.",
                            "label":  "Time Deposits 250000 Or More",
                            "verboseLabel":  "CDs more than $250,000"
                            }
                        }
                    },
                "localname":  "TimeDeposits250000OrMore",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_TimeDepositsLessThan250000":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_Deposits",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate amount of domestic or foreign time deposits (including certificates of deposits, individual retirement accounts and open accounts) that total to less than $250,000.",
                            "label":  "Time Deposits Less Than 250000",
                            "terseLabel":  "CDs less than $250,000"
                            }
                        }
                    },
                "localname":  "TimeDepositsLessThan250000",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_USDARuralDevelopmentFixedRateNotePayableMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the borrowings from USDA Rural Development, which are fixed-rate note payable.",
                            "label":  "U S D A Rural Development Fixed Rate Note Payable [Member]",
                            "terseLabel":  "USDA Rural Development note"
                            }
                        }
                    },
                "localname":  "USDARuralDevelopmentFixedRateNotePayableMember",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "mfnc_WritedownOfOtherRealEstate":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  10.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This element represent as Writedowns of other real estate held for sale.",
                            "label":  "Writedown of Other Real Estate",
                            "terseLabel":  "Writedown of other real estate held for sale"
                            }
                        }
                    },
                "localname":  "WritedownOfOtherRealEstate",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "mfnc_WritedownOfOtherRealEstateAndGainsLossesOnSale":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_NoninterestExpense",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This element represents gain (loss) resulting from sales and other disposals of other real estate held for sale, increases (decreases) in the valuation allowance and write-downs of other real estate owned.",
                            "label":  "Writedown of Other Real Estate and Gains (Losses) on Sale",
                            "negatedLabel":  "Writedowns and (gains) losses on other real estate held for sale"
                            }
                        }
                    },
                "localname":  "WritedownOfOtherRealEstateAndGainsLossesOnSale",
                "nsuri":  "http://www.bankmbank.com/20201231",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "PARENT COMPANY ONLY FINANCIAL STATEMENTS"
                            }
                        }
                    },
                "localname":  "CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "srt_CondensedFinancialStatementsCaptionsLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Condensed Financial Statements, Captions [Line Items]",
                            "terseLabel":  "PARENT COMPANY ONLY FINANCIAL STATEMENTS",
                            "verboseLabel":  "BALANCE SHEET"
                            }
                        }
                    },
                "localname":  "CondensedFinancialStatementsCaptionsLineItems",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsParentheticalDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_ConsolidatedEntitiesAxis":  {
                "auth_ref":  [
                    "r458",
                    "r459",
                    "r465",
                    "r466",
                    "r695",
                    "r704"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by consolidated entity or group of entities.",
                            "label":  "Consolidated Entities [Axis]"
                            }
                        }
                    },
                "localname":  "ConsolidatedEntitiesAxis",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsParentheticalDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails",
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_ConsolidatedEntitiesDomain":  {
                "auth_ref":  [
                    "r458",
                    "r459",
                    "r465",
                    "r466"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Entity or group of entities consolidated into reporting entity.",
                            "label":  "Consolidated Entities [Domain]",
                            "terseLabel":  "Consolidated Entities [Domain]"
                            }
                        }
                    },
                "localname":  "ConsolidatedEntitiesDomain",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsParentheticalDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails",
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_MaximumMember":  {
                "auth_ref":  [
                    "r384",
                    "r390",
                    "r523",
                    "r524",
                    "r525",
                    "r530",
                    "r531",
                    "r532",
                    "r570",
                    "r672",
                    "r673"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Upper limit of the provided range.",
                            "label":  "Maximum [Member]",
                            "terseLabel":  "Maximum"
                            }
                        }
                    },
                "localname":  "MaximumMember",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlanDetails",
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_MinimumMember":  {
                "auth_ref":  [
                    "r384",
                    "r390",
                    "r523",
                    "r524",
                    "r525",
                    "r530",
                    "r531",
                    "r532",
                    "r570",
                    "r672",
                    "r673"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Lower limit of the provided range.",
                            "label":  "Minimum [Member]",
                            "terseLabel":  "Minimum"
                            }
                        }
                    },
                "localname":  "MinimumMember",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlanDetails",
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ParentCompanyMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The registrant that controls, directly or indirectly, another entity (or entities).  The usual condition for control is ownership of a majority (over 50%) of the outstanding voting stock.  The power to control may also exist with a lesser percentage of ownership, for example, by contract, lease, agreement with other stockholders or by court decree.",
                            "label":  "Parent Company [Member]",
                            "terseLabel":  "PARENT COMPANY"
                            }
                        }
                    },
                "localname":  "ParentCompanyMember",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsParentheticalDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_RangeAxis":  {
                "auth_ref":  [
                    "r326",
                    "r384",
                    "r390",
                    "r523",
                    "r524",
                    "r525",
                    "r530",
                    "r531",
                    "r532",
                    "r570",
                    "r672",
                    "r673"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by statistical measurement.  Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
                            "label":  "Range [Axis]"
                            }
                        }
                    },
                "localname":  "RangeAxis",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlanDetails",
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails",
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_RangeMember":  {
                "auth_ref":  [
                    "r326",
                    "r384",
                    "r390",
                    "r523",
                    "r524",
                    "r525",
                    "r530",
                    "r531",
                    "r532",
                    "r570",
                    "r672",
                    "r673"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Statistical measurement.  Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
                            "label":  "Range [Member]",
                            "terseLabel":  "Range [Domain]"
                            }
                        }
                    },
                "localname":  "RangeMember",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlanDetails",
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails",
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ScenarioUnspecifiedDomain":  {
                "auth_ref":  [
                    "r385"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Scenario reported, distinguishing information from actual fact.  Includes, but is not limited to, pro forma and forecast.  Excludes actual facts.",
                            "label":  "Scenario Unspecified [Domain]",
                            "terseLabel":  "Scenario [Domain]"
                            }
                        }
                    },
                "localname":  "ScenarioUnspecifiedDomain",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ScheduleOfCondensedBalanceSheetTableTextBlock":  {
                "auth_ref":  [
                    "r706"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of condensed balance sheet, including, but not limited to, balance sheets of consolidated entities and consolidation eliminations.",
                            "label":  "Condensed Balance Sheet [Table Text Block]",
                            "terseLabel":  "Balance sheet"
                            }
                        }
                    },
                "localname":  "ScheduleOfCondensedBalanceSheetTableTextBlock",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "srt_ScheduleOfCondensedCashFlowStatementTableTextBlock":  {
                "auth_ref":  [
                    "r706"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of condensed cash flow statement, including, but not limited to, cash flow statements of consolidated entities and consolidation eliminations.",
                            "label":  "Condensed Cash Flow Statement [Table Text Block]",
                            "terseLabel":  "Statements of cash flows"
                            }
                        }
                    },
                "localname":  "ScheduleOfCondensedCashFlowStatementTableTextBlock",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "srt_ScheduleOfCondensedFinancialStatementsTable":  {
                "auth_ref":  [
                    "r98",
                    "r455",
                    "r705",
                    "r707",
                    "r708",
                    "r709"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about condensed financial statements, including, but not limited to, the balance sheet, income statement, and statement of cash flows.",
                            "label":  "Condensed Financial Statements [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfCondensedFinancialStatementsTable",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsParentheticalDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_ScheduleOfCondensedIncomeStatementTableTextBlock":  {
                "auth_ref":  [
                    "r706"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of condensed income statement, including, but not limited to, income statements of consolidated entities and consolidation eliminations.",
                            "label":  "Condensed Income Statement [Table Text Block]",
                            "terseLabel":  "Statements of operations"
                            }
                        }
                    },
                "localname":  "ScheduleOfCondensedIncomeStatementTableTextBlock",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "srt_StatementScenarioAxis":  {
                "auth_ref":  [
                    "r276",
                    "r385",
                    "r515"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by scenario reported, distinguishing information from actual fact.  Includes, but is not limited to, pro forma and forecast.  Excludes actual facts.",
                            "label":  "Scenario [Axis]"
                            }
                        }
                    },
                "localname":  "StatementScenarioAxis",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccountingPoliciesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES"
                            }
                        }
                    },
                "localname":  "AccountingPoliciesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccountsNotesAndLoansReceivableLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Accounts, Notes, Loans and Financing Receivable [Line Items]",
                            "terseLabel":  "Mortgage Servicing Rights",
                            "verboseLabel":  "Loans"
                            }
                        }
                    },
                "localname":  "AccountsNotesAndLoansReceivableLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis":  {
                "auth_ref":  [
                    "r33"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of receivable.",
                            "label":  "Receivable Type [Axis]"
                            }
                        }
                    },
                "localname":  "AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccruedLiabilitiesFairValueDisclosure":  {
                "auth_ref":  [
                    "r30"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of accrued expenses.",
                            "label":  "Accrued Liabilities, Fair Value Disclosure",
                            "terseLabel":  "Accrued interest payable"
                            }
                        }
                    },
                "localname":  "AccruedLiabilitiesFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment":  {
                "auth_ref":  [
                    "r26",
                    "r270"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_PropertyPlantAndEquipmentNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
                            "label":  "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
                            "terseLabel":  "Less - accumulated depreciation"
                            }
                        }
                    },
                "localname":  "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax":  {
                "auth_ref":  [
                    "r40"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after tax, of accumulated 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).",
                            "label":  "Unrealized gains(losses) on available for sale securities",
                            "terseLabel":  "Unrealized gains on available for sale securities",
                            "verboseLabel":  "Unrealized gains (losses) on available for sale securities"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax":  {
                "auth_ref":  [
                    "r37",
                    "r41",
                    "r347"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after tax, of accumulated other comprehensive (income) loss for defined benefit plan, that has not been recognized in net periodic benefit cost (credit).",
                            "label":  "Minimum pension liability",
                            "negatedLabel":  "Minimum pension liability"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax":  {
                "auth_ref":  [
                    "r18",
                    "r39",
                    "r40",
                    "r41",
                    "r658",
                    "r678",
                    "r679"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end.  Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.  Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
                            "label":  "Accumulated Other Comprehensive Income (Loss), Net of Tax",
                            "terseLabel":  "Accumulated other comprehensive income"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Accumulated Other Comprehensive Income (Loss), Net of Tax [Abstract]",
                            "terseLabel":  "Comprehensive Income (Loss)",
                            "verboseLabel":  "Accumulated other comprehensive income"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeMember":  {
                "auth_ref":  [
                    "r38",
                    "r41",
                    "r44",
                    "r101",
                    "r102",
                    "r103",
                    "r464",
                    "r674",
                    "r675"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent.  Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
                            "label":  "Accumulated Other Comprehensive Income [Member]",
                            "terseLabel":  "Accumulated Other Comprehensive Income (Loss)"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue":  {
                "auth_ref":  [
                    "r392",
                    "r394",
                    "r414",
                    "r415"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement.",
                            "label":  "Adjustments to Additional Paid in Capital, Share-based Compensation, Requisite Service Period Recognition",
                            "terseLabel":  "Stock compensation"
                            }
                        }
                    },
                "localname":  "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
                            "terseLabel":  "Adjustments to reconcile net income to net cash provided by operating activities:"
                            }
                        }
                    },
                "localname":  "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AdvertisingExpense":  {
                "auth_ref":  [
                    "r417"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NoninterestExpense",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount charged to advertising expense for the period, which are expenses incurred with the objective of increasing revenue for a specified brand, product or product line.",
                            "label":  "Advertising Expense",
                            "terseLabel":  "Advertising"
                            }
                        }
                    },
                "localname":  "AdvertisingExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AllocatedShareBasedCompensationExpense":  {
                "auth_ref":  [
                    "r394",
                    "r406",
                    "r413"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of expense for award under share-based payment arrangement.  Excludes amount capitalized.",
                            "label":  "Allocated Share-based Compensation Expense",
                            "terseLabel":  "Annual Compensation cost"
                            }
                        }
                    },
                "localname":  "AllocatedShareBasedCompensationExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock":  {
                "auth_ref":  [
                    "r167",
                    "r227"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of allowance for credit loss on financing receivable.",
                            "label":  "Allowance for Credit Losses on Financing Receivables [Table Text Block]",
                            "terseLabel":  "Schedule of breakdown of the allowance for loan losses and recorded balances in loans"
                            }
                        }
                    },
                "localname":  "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_AllowanceForLoanAndLeaseLossRecoveryOfBadDebts":  {
                "auth_ref":  [
                    "r164"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of recovery of loans and lease receivables which had previously been fully or partially written-off as bad debts.",
                            "label":  "Allowance for Loan and Lease Loss, Recovery of Bad Debts",
                            "verboseLabel":  "Recoveries"
                            }
                        }
                    },
                "localname":  "AllowanceForLoanAndLeaseLossRecoveryOfBadDebts",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AllowanceForLoanAndLeaseLossesRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Allowance for Loan and Lease Losses [Roll Forward]",
                            "terseLabel":  "Changes in the allowance for loan losses",
                            "verboseLabel":  "Allowance for loan loss reserve:"
                            }
                        }
                    },
                "localname":  "AllowanceForLoanAndLeaseLossesRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs":  {
                "auth_ref":  [
                    "r163"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of loans and leases that have been written off from both loan receivables and allowance reserve for credit loss.",
                            "label":  "Allowance for Loan and Lease Losses, Write-offs",
                            "negatedTerseLabel":  "Charge-offs"
                            }
                        }
                    },
                "localname":  "AllowanceForLoanAndLeaseLossesWriteOffs",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AmortizationOfIntangibleAssets":  {
                "auth_ref":  [
                    "r81",
                    "r258",
                    "r264"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets.  As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
                            "label":  "Amortization of Intangible Assets",
                            "terseLabel":  "Amortization expense"
                            }
                        }
                    },
                "localname":  "AmortizationOfIntangibleAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_Assets":  {
                "auth_ref":  [
                    "r94",
                    "r145",
                    "r148",
                    "r154",
                    "r224",
                    "r458",
                    "r465",
                    "r490",
                    "r592",
                    "r656"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized.  Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
                            "label":  "Assets",
                            "totalLabel":  "TOTAL ASSETS"
                            }
                        }
                    },
                "localname":  "Assets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AssetsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Assets [Abstract]",
                            "terseLabel":  "ASSETS"
                            }
                        }
                    },
                "localname":  "AssetsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AssetsFairValueAdjustment":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of addition (reduction) to the amount at which an asset could be incurred (settled) in a current transaction between willing parties.",
                            "label":  "Assets, Fair Value Adjustment",
                            "terseLabel":  "Total (Gains) Losses"
                            }
                        }
                    },
                "localname":  "AssetsFairValueAdjustment",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AssetsFairValueDisclosure":  {
                "auth_ref":  [
                    "r470"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
                            "label":  "Assets, Fair Value Disclosure",
                            "terseLabel":  "Assets",
                            "totalLabel":  "Total financial assets"
                            }
                        }
                    },
                "localname":  "AssetsFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueOtherAssetsAndOtherLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax":  {
                "auth_ref":  [
                    "r203"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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).",
                            "label":  "Available For Sale Securities Gross Unrealized Gain Accumulated in Investments",
                            "terseLabel":  "Unrealized Gains"
                            }
                        }
                    },
                "localname":  "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax":  {
                "auth_ref":  [
                    "r204"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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).",
                            "label":  "Available For Sale Securities Gross Unrealized Loss Accumulated in Investments",
                            "negatedLabel":  "Unrealized Losses"
                            }
                        }
                    },
                "localname":  "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis":  {
                "auth_ref":  [
                    "r201",
                    "r242"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Available-for-sale Securities, Debt Maturities, Amortized Cost Basis",
                            "totalLabel":  "Amortized cost"
                            }
                        }
                    },
                "localname":  "AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract]",
                            "terseLabel":  "Gross Unrealized Loss"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Available-for-sale Securities, Continuous Unrealized Loss Position, Fair Value [Abstract]",
                            "terseLabel":  "Securities with gross unrealized losses aggregated by investment category and length of time the individual securities have been in a loss position",
                            "verboseLabel":  "Fair Value"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Available-for-sale Securities, Debt Maturities [Abstract]",
                            "terseLabel":  "Carrying value and estimated fair value of securities available for sale by contractual maturity"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost":  {
                "auth_ref":  [
                    "r208"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails":  {
                        "order":  3.0,
                        "parentTag":  "mfnc_AvailableForSaleSecuritiesDebtMaturitiesExcludingSecuritiesWithoutSingleMaturityDateAmortizedCost",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Available-for-sale Securities, Debt Maturities, Year Six Through Ten, Amortized Cost Basis",
                            "terseLabel":  "Due after five years through ten years"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue":  {
                "auth_ref":  [
                    "r205",
                    "r208",
                    "r634"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails":  {
                        "order":  3.0,
                        "parentTag":  "mfnc_AvailableForSaleSecuritiesDebtMaturitiesExcludingSecuritiesWithoutSingleMaturityDateFairValue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Available-for-sale Securities, Debt Maturities, Year Six Through Ten, Fair Value",
                            "terseLabel":  "Due after five years through ten years"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost":  {
                "auth_ref":  [
                    "r207"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails":  {
                        "order":  2.0,
                        "parentTag":  "mfnc_AvailableForSaleSecuritiesDebtMaturitiesExcludingSecuritiesWithoutSingleMaturityDateAmortizedCost",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Available-for-sale Securities, Debt Maturities, Year Two Through Five, Amortized Cost Basis",
                            "terseLabel":  "Due after one year through five years"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue":  {
                "auth_ref":  [
                    "r205",
                    "r207",
                    "r633"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails":  {
                        "order":  2.0,
                        "parentTag":  "mfnc_AvailableForSaleSecuritiesDebtMaturitiesExcludingSecuritiesWithoutSingleMaturityDateFairValue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Available-for-sale Securities, Debt Maturities, Year Two Through Five, Fair Value",
                            "terseLabel":  "Due after one year through five years"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost":  {
                "auth_ref":  [
                    "r209"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails":  {
                        "order":  4.0,
                        "parentTag":  "mfnc_AvailableForSaleSecuritiesDebtMaturitiesExcludingSecuritiesWithoutSingleMaturityDateAmortizedCost",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Available-for-sale Securities, Debt Maturities, after Ten Years, Amortized Cost Basis",
                            "terseLabel":  "Due after ten years"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue":  {
                "auth_ref":  [
                    "r205",
                    "r209",
                    "r635"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails":  {
                        "order":  4.0,
                        "parentTag":  "mfnc_AvailableForSaleSecuritiesDebtMaturitiesExcludingSecuritiesWithoutSingleMaturityDateFairValue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Available-for-sale Securities, Debt Maturities, after Ten Years, Fair Value",
                            "terseLabel":  "Due after ten years"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]",
                            "terseLabel":  "Amortized Cost"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]",
                            "terseLabel":  "Estimated Fair Value"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost":  {
                "auth_ref":  [
                    "r206"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails":  {
                        "order":  1.0,
                        "parentTag":  "mfnc_AvailableForSaleSecuritiesDebtMaturitiesExcludingSecuritiesWithoutSingleMaturityDateAmortizedCost",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Available-for-sale Securities, Debt Maturities, Next Twelve Months, Amortized Cost Basis",
                            "terseLabel":  "Due in one year or less"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue":  {
                "auth_ref":  [
                    "r205",
                    "r206",
                    "r632"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails":  {
                        "order":  1.0,
                        "parentTag":  "mfnc_AvailableForSaleSecuritiesDebtMaturitiesExcludingSecuritiesWithoutSingleMaturityDateFairValue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Available-for-sale Securities, Debt Maturities, Next Twelve Months, Fair Value",
                            "terseLabel":  "Due in one year or less"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost":  {
                "auth_ref":  [
                    "r210"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), without single maturity date and not allocated over maturity grouping.",
                            "label":  "Available-for-sale Securities, Debt Maturities, without Single Maturity Date, Amortized Cost Basis",
                            "terseLabel":  "US Agencies - MBS"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue":  {
                "auth_ref":  [
                    "r210"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_MarketableSecurities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), without single maturity date and not allocated over maturity grouping.",
                            "label":  "Available-for-sale Securities, Debt Maturities, without Single Maturity Date, Fair Value",
                            "terseLabel":  "US Agencies - MBS"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtSecurities":  {
                "auth_ref":  [
                    "r199",
                    "r202",
                    "r242",
                    "r596"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Available-for-sale Securities, Debt Securities",
                            "periodEndLabel":  "Balance at the end",
                            "periodStartLabel":  "Balance at the beginning",
                            "terseLabel":  "Securities available for sale"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtSecurities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueLevel3ActivitiesDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesGrossRealizedGainLossAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Available-for-sale Securities, Gross Realized Gain (Loss), Disclosures [Abstract]",
                            "terseLabel":  "Summary of the proceeds from sales and calls of securities available for sale, as well as gross gains and losses"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesGrossRealizedGainLossAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AvailableForsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Number of Positions [Abstract]",
                            "terseLabel":  "Number of Securities"
                            }
                        }
                    },
                "localname":  "AvailableForsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AvailableforsaleSecuritiesMember":  {
                "auth_ref":  [
                    "r218"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Availableforsale Securities [Member]",
                            "terseLabel":  "Available-for-sale Securities"
                            }
                        }
                    },
                "localname":  "AvailableforsaleSecuritiesMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AwardTypeAxis":  {
                "auth_ref":  [
                    "r395",
                    "r408"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of award under share-based payment arrangement.",
                            "label":  "Award Type [Axis]"
                            }
                        }
                    },
                "localname":  "AwardTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BankingAndThriftOtherDisclosuresAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "REGULATORY MATTERS"
                            }
                        }
                    },
                "localname":  "BankingAndThriftOtherDisclosuresAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BasisOfAccountingPolicyPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
                            "label":  "Basis of Accounting, Policy [Policy Text Block]",
                            "terseLabel":  "Basis of Presentation"
                            }
                        }
                    },
                "localname":  "BasisOfAccountingPolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_BuildingAndBuildingImprovementsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Facility held for productive use including, but not limited to, office, production, storage and distribution facilities and any addition, improvement, or renovation to the structure, for example, but not limited to, interior masonry, interior flooring, electrical, and plumbing.",
                            "label":  "Building And Building Improvements [Member]",
                            "terseLabel":  "Buildings and improvements"
                            }
                        }
                    },
                "localname":  "BuildingAndBuildingImprovementsMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_BusinessAcquisitionAcquireeDomain":  {
                "auth_ref":  [
                    "r380",
                    "r386"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
                            "label":  "Business Acquisition Acquiree [Domain]",
                            "terseLabel":  "Business Acquisition, Acquiree [Domain]"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionAcquireeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlanDetails",
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_BusinessAcquisitionAxis":  {
                "auth_ref":  [
                    "r380",
                    "r386",
                    "r451",
                    "r452"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by business combination or series of individually immaterial business combinations.",
                            "label":  "Business Acquisition [Axis]"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlanDetails",
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansTables"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_Capital":  {
                "auth_ref":  [
                    "r645",
                    "r689",
                    "r690"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of total capital as defined by regulatory framework.",
                            "label":  "Capital",
                            "terseLabel":  "Total capital to risk weighted assets, Actual Amount"
                            }
                        }
                    },
                "localname":  "Capital",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CapitalRequiredForCapitalAdequacy":  {
                "auth_ref":  [
                    "r645",
                    "r649"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of minimum total risk-based capital required for capital adequacy as defined by regulatory framework.",
                            "label":  "Capital Required for Capital Adequacy",
                            "terseLabel":  "Total capital to risk weighted assets, Minimum for Capital Adequacy Purposes Amount"
                            }
                        }
                    },
                "localname":  "CapitalRequiredForCapitalAdequacy",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets":  {
                "auth_ref":  [
                    "r645",
                    "r649"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Ratio of minimum total risk-based capital to risk-weighted assets required for capital adequacy as defined by regulatory framework.",
                            "label":  "Capital Required for Capital Adequacy to Risk Weighted Assets",
                            "terseLabel":  "Total capital to risk weighted assets, Minimum for Capital Adequacy Purposes Ratio (as a percent)"
                            }
                        }
                    },
                "localname":  "CapitalRequiredForCapitalAdequacyToRiskWeightedAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "us-gaap_CapitalRequiredToBeWellCapitalized":  {
                "auth_ref":  [
                    "r645"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of minimum total risk-based capital categorized as well capitalized as defined by regulatory framework for prompt corrective action.",
                            "label":  "Capital Required to be Well Capitalized",
                            "terseLabel":  "Total capital to risk weighted assets, Action Provisions Amount"
                            }
                        }
                    },
                "localname":  "CapitalRequiredToBeWellCapitalized",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CapitalRequiredToBeWellCapitalizedToRiskWeightedAssets":  {
                "auth_ref":  [
                    "r645"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Ratio of minimum total risk-based capital to risk-weighted assets categorized as well capitalized as defined by regulatory framework for prompt corrective action.",
                            "label":  "Capital Required to be Well Capitalized to Risk Weighted Assets",
                            "terseLabel":  "Total capital to risk weighted assets, Action Provisions Ratio (as a percent)"
                            }
                        }
                    },
                "localname":  "CapitalRequiredToBeWellCapitalizedToRiskWeightedAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "us-gaap_CapitalToRiskWeightedAssets":  {
                "auth_ref":  [
                    "r645"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Ratio of total risk-based capital to risk-weighted assets as defined by regulatory framework.",
                            "label":  "Capital to Risk Weighted Assets",
                            "terseLabel":  "Total capital to risk weighted assets, Actual Ratio (as a percent)"
                            }
                        }
                    },
                "localname":  "CapitalToRiskWeightedAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "us-gaap_CarryingReportedAmountFairValueDisclosureMember":  {
                "auth_ref":  [
                    "r485",
                    "r486"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measured as reported on the statement of financial position (balance sheet).",
                            "label":  "Carrying Reported Amount Fair Value Disclosure [Member]",
                            "terseLabel":  "Carrying Amount"
                            }
                        }
                    },
                "localname":  "CarryingReportedAmountFairValueDisclosureMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CashAndCashEquivalentsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Cash and Cash Equivalents [Abstract]",
                            "terseLabel":  "Cash and Cash Equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CashAndCashEquivalentsAtCarryingValue":  {
                "auth_ref":  [
                    "r3",
                    "r22",
                    "r83"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of currency on hand as well as demand deposits with banks or financial institutions.  Includes other kinds of accounts that have the general characteristics of demand deposits.  Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.  Excludes cash and cash equivalents within disposal group and discontinued operation.",
                            "label":  "Cash and Cash Equivalents, at Carrying Value",
                            "terseLabel":  "Cash and cash equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsAtCarryingValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashAndCashEquivalentsDisclosureTextBlock":  {
                "auth_ref":  [
                    "r5"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for cash and cash equivalent footnotes, which may include the types of deposits and money market instruments, applicable carrying amounts, restricted amounts and compensating balance arrangements.  Cash and equivalents include: (1) currency on hand (2) demand deposits with banks or financial institutions (3) other kinds of accounts that have the general characteristics of demand deposits (4) short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.  Generally, only investments maturing within three months from the date of acquisition qualify.",
                            "label":  "Cash and Cash Equivalents Disclosure [Text Block]",
                            "terseLabel":  "RESTRICTIONS ON CASH AND CASH EQUIVALENTS"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRestrictionsOnCashAndCashEquivalents"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CashAndCashEquivalentsFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AssetsFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of currency on hand as well as demand deposits with banks or financial institutions.  Includes other kinds of accounts that have the general characteristics of demand deposits.  Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Cash and Cash Equivalents, Fair Value Disclosure",
                            "terseLabel":  "Cash and cash equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashAndCashEquivalentsPolicyTextBlock":  {
                "auth_ref":  [
                    "r5",
                    "r86",
                    "r92"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents.  Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
                            "label":  "Cash and Cash Equivalents, Policy [Policy Text Block]",
                            "terseLabel":  "Cash and Cash Equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CashAndDueFromBanks":  {
                "auth_ref":  [
                    "r589"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "mfnc_CashAndCashEquivalentsAtCarryingValueExcludingInterestBearingDeposits",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "For banks and other depository institutions:  Includes cash on hand (currency and coin), cash items in process of collection, noninterest bearing deposits due from other financial institutions (including corporate credit unions), and noninterest bearing balances with the Federal Reserve Banks, Federal Home Loan Banks and central banks.",
                            "label":  "Cash and Due from Banks",
                            "terseLabel":  "Cash and due from banks"
                            }
                        }
                    },
                "localname":  "CashAndDueFromBanks",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents":  {
                "auth_ref":  [
                    "r76",
                    "r83",
                    "r91"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage.  Excludes amount for disposal group and discontinued operations.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
                            "periodEndLabel":  "Cash and cash equivalents at end of period",
                            "periodStartLabel":  "Cash and cash equivalents at beginning of period"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect":  {
                "auth_ref":  [
                    "r76",
                    "r491"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Cash and Cash Equivalents, Period Increase (Decrease)",
                            "totalLabel":  "Net (decrease) increase in cash and cash equivalents"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract]",
                            "terseLabel":  "Noncash Investing and Financing Activities:"
                            }
                        }
                    },
                "localname":  "CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CashSurrenderValueOfLifeInsurance":  {
                "auth_ref":  [
                    "r4",
                    "r27"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying amount as of the balance sheet date of amounts which could be received based on the terms of the insurance contract upon surrendering life policies owned by the entity.",
                            "label":  "Cash Surrender Value of Life Insurance",
                            "terseLabel":  "Cash surrender value of life insurance policies of the plan participants"
                            }
                        }
                    },
                "localname":  "CashSurrenderValueOfLifeInsurance",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CertainLoansAcquiredInTransferAccretableYield":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate excess of a loan's cash flows expected to be collected over the investor's initial investment in the loan.  This relates to loans with deteriorating of credit quality since origination that were acquired by completion of a transfer for which it is probable, at acquisition, that the investor will be unable to collect all contractually required payments receivable.",
                            "label":  "Certain Loans Acquired in Transfer, Accretable Yield",
                            "negatedLabel":  "Accretable yield"
                            }
                        }
                    },
                "localname":  "CertainLoansAcquiredInTransferAccretableYield",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CertainLoansAcquiredInTransferNonaccretableDifference":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of the loan's contractually required payments receivable in excess of the amount of its cash flows expected to be collected.  This relates to loans with deteriorating of credit quality since origination that were acquired by completion of a transfer for which it is probable, at acquisition, that the investor will be unable to collect all contractually required payments receivable.",
                            "label":  "Certain Loans Acquired in Transfer, Nonaccretable Difference",
                            "negatedLabel":  "Nonaccretable difference"
                            }
                        }
                    },
                "localname":  "CertainLoansAcquiredInTransferNonaccretableDifference",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYield":  {
                "auth_ref":  [
                    "r191",
                    "r193"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of the excess of a loan's cash flows expected to be collected over the investor's initial investment in acquired loans not accounted for as debt securities with evidence of deterioration of credit quality.",
                            "label":  "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Accretable Yield",
                            "periodEndLabel":  "Balance at the end of period",
                            "periodStartLabel":  "Balance at the beginning of period"
                            }
                        }
                    },
                "localname":  "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYield",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldAccretion":  {
                "auth_ref":  [
                    "r191",
                    "r193"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of accretion recognized for the excess of a loan's cash flows expected to be collected over the investor's initial investment in acquired loans not accounted for as debt securities, with evidence of deterioration of credit quality.",
                            "label":  "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Accretable Yield, Accretion",
                            "negatedLabel":  "Accretion"
                            }
                        }
                    },
                "localname":  "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldAccretion",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldReclassificationsToFromNonaccretableDifference":  {
                "auth_ref":  [
                    "r191",
                    "r193"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of reclassification (to) from nonaccretable difference (from) to the excess of a loan's cash flows expected to be collected over the investor's initial investment in acquired loans not accounted for as debt securities with evidence of deterioration of credit quality.",
                            "label":  "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Accretable Yield, Reclassifications from Nonaccretable Difference",
                            "terseLabel":  "Reclassification from nonaccretable difference"
                            }
                        }
                    },
                "localname":  "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldReclassificationsToFromNonaccretableDifference",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Acquired During Period [Abstract]",
                            "terseLabel":  "Acquired portfolio"
                            }
                        }
                    },
                "localname":  "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue":  {
                "auth_ref":  [
                    "r191",
                    "r194"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value at acquisition of acquired loans not accounted for as debt securities with evidence of deterioration of credit quality.",
                            "label":  "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Acquired During Period, at Acquisition, at Fair Value",
                            "terseLabel":  "Carrying balance at acquisition date"
                            }
                        }
                    },
                "localname":  "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition":  {
                "auth_ref":  [
                    "r191",
                    "r194"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash flows expected to be collected at acquisition of acquired loans not accounted for as debt securities with evidence of deterioration of credit quality.",
                            "label":  "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Acquired During Period, Cash Flows Expected to be Collected at Acquisition",
                            "totalLabel":  "Expected cash flows"
                            }
                        }
                    },
                "localname":  "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition":  {
                "auth_ref":  [
                    "r191",
                    "r194"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of contractually required payments receivable at acquisition of acquired loans not accounted for as debt securities with evidence of deterioration of credit quality.",
                            "label":  "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Acquired During Period, Contractually Required Payments Receivable at Acquisition",
                            "terseLabel":  "Loans acquired - contractual payments"
                            }
                        }
                    },
                "localname":  "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesCarryingAmountNet":  {
                "auth_ref":  [
                    "r191",
                    "r192"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The recorded balance, net of any applicable reductions (for example, unamortized accretable yield and allowance for loan losses).  This relates to loans not accounted for debt securities with evidence of deterioration of credit quality since origination that were acquired by completion of a transfer for which it is probable, at acquisition, that the investor will be unable to collect all contractually required payments receivable.",
                            "label":  "Financing Receivable, Acquired with Deteriorated Credit Quality",
                            "terseLabel":  "Acquired with deteriorated credit quality"
                            }
                        }
                    },
                "localname":  "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesCarryingAmountNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CollateralAxis":  {
                "auth_ref":  [
                    "r236"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by category of collateral or no collateral, from lender's perspective.",
                            "label":  "Collateral Held [Axis]"
                            }
                        }
                    },
                "localname":  "CollateralAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CollateralDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Category of collateral or no collateral, from lender's perspective.",
                            "label":  "Collateral [Domain]",
                            "terseLabel":  "Collateral Held [Domain]"
                            }
                        }
                    },
                "localname":  "CollateralDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CollateralPledgedMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Pledge of specific property to serve as protection against default.",
                            "label":  "Collateral Pledged [Member]",
                            "terseLabel":  "Collateral Pledged"
                            }
                        }
                    },
                "localname":  "CollateralPledgedMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommercialLoanMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A loan, whether secured or unsecured, to a company for purposes such as seasonal working capital needs, inventory financing, equipment purchases and acquisitions.",
                            "label":  "Commercial Loan [Member]",
                            "terseLabel":  "Commercial loans"
                            }
                        }
                    },
                "localname":  "CommercialLoanMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommercialPortfolioSegmentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Portfolio segment of the company's total financing receivables related to commercial receivables.",
                            "label":  "Commercial Portfolio Segment [Member]",
                            "terseLabel":  "Commercial loan portfolio"
                            }
                        }
                    },
                "localname":  "CommercialPortfolioSegmentMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansTroubledDebtRestructuringDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommercialRealEstateMember":  {
                "auth_ref":  [
                    "r237",
                    "r327"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Property that is solely used for business purposes.",
                            "label":  "Commercial Real Estate [Member]",
                            "terseLabel":  "Commercial real estate"
                            }
                        }
                    },
                "localname":  "CommercialRealEstateMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommercialRealEstatePortfolioSegmentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Portfolio segment of the company's total financing receivables related to commercial real estate.",
                            "label":  "Commercial Real Estate Portfolio Segment [Member]",
                            "terseLabel":  "Commercial Real Estate Portfolio Segment [Member]"
                            }
                        }
                    },
                "localname":  "CommercialRealEstatePortfolioSegmentMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommitmentsAndContingenciesDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "COMMITMENTS, CONTINGENCIES AND CREDIT RISK"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingenciesDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock":  {
                "auth_ref":  [
                    "r273",
                    "r274",
                    "r275",
                    "r278"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for commitments and contingencies.",
                            "label":  "Commitments and Contingencies Disclosure [Text Block]",
                            "terseLabel":  "COMMITMENTS, CONTINGENCIES AND CREDIT RISK"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingenciesDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRisk"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CommitmentsToExtendCreditMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Loan commitments are legally binding commitments to extend credit to a counterparty under certain terms and conditions.",
                            "label":  "Commitments To Extend Credit [Member]",
                            "terseLabel":  "Commitments to extend credit"
                            }
                        }
                    },
                "localname":  "CommitmentsToExtendCreditMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Common stock held by shareholders with par value plus amounts in excess of par value or issuance value (in cases of no-par value stock).",
                            "label":  "Common Stock Including Additional Paid In Capital [Member]",
                            "terseLabel":  "Common Stock and Additional Paid in Capital"
                            }
                        }
                    },
                "localname":  "CommonStockIncludingAdditionalPaidInCapitalMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommonStockMember":  {
                "auth_ref":  [
                    "r101",
                    "r102"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Stock that is subordinate to all other stock of the issuer.",
                            "label":  "Common Stock [Member]",
                            "terseLabel":  "Shares of Common Stock"
                            }
                        }
                    },
                "localname":  "CommonStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommonStockNoParValue":  {
                "auth_ref":  [
                    "r15"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Face amount per share of no-par value common stock.",
                            "label":  "Common Stock, No Par Value",
                            "terseLabel":  "Common stock, par value"
                            }
                        }
                    },
                "localname":  "CommonStockNoParValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsParentheticalDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_CommonStockSharesAuthorized":  {
                "auth_ref":  [
                    "r15"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
                            "label":  "Common Stock, Shares Authorized",
                            "verboseLabel":  "Common stock, Authorized shares"
                            }
                        }
                    },
                "localname":  "CommonStockSharesAuthorized",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsParentheticalDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockSharesIssued":  {
                "auth_ref":  [
                    "r15"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury).  These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized.  Shares issued include shares outstanding and shares held in the treasury.",
                            "label":  "Common Stock, Shares, Issued",
                            "verboseLabel":  "Common stock, Shares issued"
                            }
                        }
                    },
                "localname":  "CommonStockSharesIssued",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsParentheticalDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockSharesOutstanding":  {
                "auth_ref":  [
                    "r15",
                    "r285"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares of common stock outstanding.  Common stock represent the ownership interest in a corporation.",
                            "label":  "Common Stock, Shares, Outstanding",
                            "verboseLabel":  "Common stock, Shares outstanding"
                            }
                        }
                    },
                "localname":  "CommonStockSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsParentheticalDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStocksIncludingAdditionalPaidInCapital":  {
                "auth_ref":  [
                    "r15",
                    "r16",
                    "r290"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of par value plus amounts in excess of par value or issuance value for common stock issued.",
                            "label":  "Common Stocks, Including Additional Paid in Capital",
                            "terseLabel":  "Common stock and additional paid in capital - no par value Authorized 18,000,000 shares Issued and outstanding - 10,500,758 and 10,748,712 shares respectively",
                            "verboseLabel":  "Common stock and additional paid in capital - No par value Authorized - 18,000,000 shares Issued and outstanding - 10,500,758 and 10,748,712 respectively"
                            }
                        }
                    },
                "localname":  "CommonStocksIncludingAdditionalPaidInCapital",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_Communication":  {
                "auth_ref":  [
                    "r60"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  10.0,
                        "parentTag":  "us-gaap_NoninterestExpense",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of expense incurred in the period for communication, which is the exchange of information by several methods.",
                            "label":  "Communication",
                            "terseLabel":  "Communications"
                            }
                        }
                    },
                "localname":  "Communication",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CompensationAndEmployeeBenefitPlansTextBlock":  {
                "auth_ref":  [
                    "r298",
                    "r301",
                    "r391",
                    "r416"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for an entity's employee compensation and benefit plans, including, but not limited to, postemployment and postretirement benefit plans, defined benefit pension plans, defined contribution plans, non-qualified and supplemental benefit plans, deferred compensation, share-based compensation, life insurance, severance, health care, unemployment and other benefit plans.",
                            "label":  "Compensation and Employee Benefit Plans [Text Block]",
                            "terseLabel":  "DEFINED BENEFIT PENSION PLAN"
                            }
                        }
                    },
                "localname":  "CompensationAndEmployeeBenefitPlansTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlan"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CompensationAndRetirementDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "DEFINED BENEFIT PENSION PLAN"
                            }
                        }
                    },
                "localname":  "CompensationAndRetirementDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CompensationRelatedCostsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "DEFERRED COMPENSATION PLAN"
                            }
                        }
                    },
                "localname":  "CompensationRelatedCostsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CompensationRelatedCostsGeneralTextBlock":  {
                "auth_ref":  [
                    "r297",
                    "r298"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for compensation costs, including compensated absences accruals, compensated absences liability, deferred compensation arrangements and income statement compensation items.  Deferred compensation arrangements may include a description of an arrangement with an individual employee, which is generally an employment contract between the entity and a selected officer or key employee containing a promise by the employer to pay certain amounts at designated future dates, usually including a period after retirement, upon compliance with stipulated requirements.  This type of arrangement is distinguished from broader based employee benefit plans as it is usually tailored to the employee.  Disclosure also typically includes the amount of related compensation expense recognized during the reporting period, the number of shares (units) issued during the period under such arrangements, and the carrying amount as of the balance sheet date of the related liability.",
                            "label":  "Compensation Related Costs, General [Text Block]",
                            "terseLabel":  "DEFERRED COMPENSATION PLAN"
                            }
                        }
                    },
                "localname":  "CompensationRelatedCostsGeneralTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlan"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Compliance with Regulatory Capital Requirements under Banking Regulations [Line Items]",
                            "verboseLabel":  "Corporation's and the Bank's actual and required capital amounts and ratios"
                            }
                        }
                    },
                "localname":  "ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ComponentsOfDeferredTaxAssetsAndLiabilitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Components of Deferred Tax Assets and Liabilities [Abstract]",
                            "terseLabel":  "Major components of net deferred tax assets"
                            }
                        }
                    },
                "localname":  "ComponentsOfDeferredTaxAssetsAndLiabilitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ComponentsOfIncomeTaxExpenseBenefitContinuingOperationsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Components of Income Tax Expense (Benefit), Continuing Operations [Abstract]",
                            "terseLabel":  "Components of the federal income tax provision (credit)"
                            }
                        }
                    },
                "localname":  "ComponentsOfIncomeTaxExpenseBenefitContinuingOperationsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ComprehensiveIncomeNetOfTax":  {
                "auth_ref":  [
                    "r47",
                    "r49",
                    "r50",
                    "r56",
                    "r611",
                    "r665"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity.  Excludes changes in equity resulting from investments by owners and distributions to owners.",
                            "label":  "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
                            "totalLabel":  "Total comprehensive income"
                            }
                        }
                    },
                "localname":  "ComprehensiveIncomeNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ComprehensiveIncomePolicyPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for comprehensive income.",
                            "label":  "Comprehensive Income, Policy [Policy Text Block]",
                            "terseLabel":  "Comprehensive Income (Loss)"
                            }
                        }
                    },
                "localname":  "ComprehensiveIncomePolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ConcentrationRiskBenchmarkDomain":  {
                "auth_ref":  [
                    "r133",
                    "r134",
                    "r158",
                    "r487",
                    "r488"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The denominator in a calculation of a disclosed concentration risk percentage.",
                            "label":  "Concentration Risk Benchmark [Domain]",
                            "terseLabel":  "Concentration Risk Benchmark [Domain]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskBenchmarkDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ConcentrationRiskByBenchmarkAxis":  {
                "auth_ref":  [
                    "r133",
                    "r134",
                    "r158",
                    "r487",
                    "r488",
                    "r681"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by benchmark of concentration risk.",
                            "label":  "Concentration Risk Benchmark [Axis]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskByBenchmarkAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ConcentrationRiskByTypeAxis":  {
                "auth_ref":  [
                    "r133",
                    "r134",
                    "r158",
                    "r487",
                    "r488",
                    "r681"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
                            "label":  "Concentration Risk Type [Axis]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskByTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ConcentrationRiskLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Concentration Risk [Line Items]",
                            "terseLabel":  "Concentration of Credit Risk"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ConcentrationRiskPercentage1":  {
                "auth_ref":  [
                    "r133",
                    "r134",
                    "r158",
                    "r487",
                    "r488"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
                            "label":  "Concentration Risk, Percentage",
                            "terseLabel":  "Percentage of concentration risk under a specified benchmark"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskPercentage1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_ConcentrationRiskTable":  {
                "auth_ref":  [
                    "r132",
                    "r133",
                    "r134",
                    "r135",
                    "r487",
                    "r489"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Describes the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark.",
                            "label":  "Concentration Risk [Table]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ConcentrationRiskTypeDomain":  {
                "auth_ref":  [
                    "r133",
                    "r134",
                    "r158",
                    "r487",
                    "r488"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
                            "label":  "Concentration Risk Type [Domain]",
                            "terseLabel":  "Concentration Risk Type [Domain]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock":  {
                "auth_ref":  [
                    "r1",
                    "r98",
                    "r455"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for condensed financial information, including the financial position, cash flows, and the results of operations of the registrant (parent company) as of the same dates or for the same periods for which audited consolidated financial statements are being presented.  Alternatively, the details of this disclosure can be reported by the specific parent company taxonomy elements, indicating the appropriate date and period contexts in an instance document.",
                            "label":  "Condensed Financial Information of Parent Company Only Disclosure [Text Block]",
                            "terseLabel":  "PARENT COMPANY ONLY FINANCIAL STATEMENTS"
                            }
                        }
                    },
                "localname":  "CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatements"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ConsolidatedEntitiesMember":  {
                "auth_ref":  [
                    "r574",
                    "r576",
                    "r578",
                    "r580",
                    "r582",
                    "r584"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Entities which have been consolidated for financial statement presentation purposes.",
                            "label":  "Consolidated Entities [Member]",
                            "terseLabel":  "Consolidated"
                            }
                        }
                    },
                "localname":  "ConsolidatedEntitiesMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ConsolidationPolicyTextBlock":  {
                "auth_ref":  [
                    "r92",
                    "r460"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting.  The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.",
                            "label":  "Consolidation, Policy [Policy Text Block]",
                            "terseLabel":  "Principles of Consolidation"
                            }
                        }
                    },
                "localname":  "ConsolidationPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ConstructionInProgressMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Structure or a modification to a structure under construction.  Includes recently completed structures or modifications to structures that have not been placed into service.",
                            "label":  "Construction In Progress [Member]",
                            "terseLabel":  "Construction in progress"
                            }
                        }
                    },
                "localname":  "ConstructionInProgressMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ConsumerLoanMember":  {
                "auth_ref":  [
                    "r239"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Loan or extension of credit for personal, family, or household use excluding real estate.",
                            "label":  "Consumer Loan [Member]",
                            "terseLabel":  "Consumer"
                            }
                        }
                    },
                "localname":  "ConsumerLoanMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ConsumerPortfolioSegmentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Portfolio segment of the company's total financing receivables related to consumer receivables.",
                            "label":  "Consumer Portfolio Segment [Member]",
                            "terseLabel":  "Consumer Portfolio Segment [Member]"
                            }
                        }
                    },
                "localname":  "ConsumerPortfolioSegmentMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CorporateDebtSecuritiesMember":  {
                "auth_ref":  [
                    "r327",
                    "r373",
                    "r680"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Debt securities issued by domestic or foreign corporate business, banks and other entities with a promise of repayment.",
                            "label":  "Corporate Debt Securities [Member]",
                            "terseLabel":  "Corporate"
                            }
                        }
                    },
                "localname":  "CorporateDebtSecuritiesMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueLevel3ActivitiesDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CreditConcentrationRiskMember":  {
                "auth_ref":  [
                    "r489"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Reflects the percentage that a specified receivable or amount at risk from a counterparty under a contractual arrangement is to a specified benchmark, such as total receivables, net revenues, pretax results.  Risk is the materially adverse effects of loss attributable to (a) the failure to collect a significant receivable from a major customer or group of homogeneous accounts, or (b) a failure by a counterparty to perform under terms of a contractual arrangement.",
                            "label":  "Credit Concentration Risk [Member]",
                            "terseLabel":  "Credit risk concentration"
                            }
                        }
                    },
                "localname":  "CreditConcentrationRiskMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CreditLossStatusAxis":  {
                "auth_ref":  [
                    "r196",
                    "r241",
                    "r251"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by credit loss status of financial asset.",
                            "label":  "Credit Loss Status [Axis]"
                            }
                        }
                    },
                "localname":  "CreditLossStatusAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CreditLossStatusDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Credit loss status of financial asset.",
                            "label":  "Credit Loss Status [Domain]",
                            "terseLabel":  "Receivables Acquired with Deteriorated Credit Quality [Domain] (Deprecated 2018-01-31)"
                            }
                        }
                    },
                "localname":  "CreditLossStatusDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CurrentIncomeTaxExpenseBenefit":  {
                "auth_ref":  [
                    "r95",
                    "r436",
                    "r443",
                    "r445"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_IncomeTaxExpenseBenefit",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of current income tax expense (benefit) pertaining to taxable income (loss) from continuing operations.",
                            "label":  "Current Income Tax Expense (Benefit)",
                            "verboseLabel":  "Current tax expense"
                            }
                        }
                    },
                "localname":  "CurrentIncomeTaxExpenseBenefit",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CustomerRelationshipsMember":  {
                "auth_ref":  [
                    "r453"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Customer relationship that exists between an entity and its customer, for example, but not limited to, tenant relationships.",
                            "label":  "Customer Relationships [Member]",
                            "terseLabel":  "Customer Relationship"
                            }
                        }
                    },
                "localname":  "CustomerRelationshipsMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtAndCapitalLeaseObligations":  {
                "auth_ref":  [
                    "r602",
                    "r662"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureBorrowingsMaturitiesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of short-term and long-term debt and lease obligation.",
                            "label":  "Debt and Capital Lease Obligations",
                            "terseLabel":  "Borrowings",
                            "totalLabel":  "Borrowings"
                            }
                        }
                    },
                "localname":  "DebtAndCapitalLeaseObligations",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureBorrowingsMaturitiesDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "BORROWINGS"
                            }
                        }
                    },
                "localname":  "DebtDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtDisclosureTextBlock":  {
                "auth_ref":  [
                    "r284"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
                            "label":  "Debt Disclosure [Text Block]",
                            "terseLabel":  "BORROWINGS"
                            }
                        }
                    },
                "localname":  "DebtDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowings"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage points added to the reference rate to compute the variable rate on the debt instrument.",
                            "label":  "Debt Instrument, Basis Spread on Variable Rate",
                            "terseLabel":  "Variable rate (as a percent)"
                            }
                        }
                    },
                "localname":  "DebtInstrumentBasisSpreadOnVariableRate1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentDescriptionOfVariableRateBasis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The reference rate for the variable rate of the debt instrument, such as LIBOR or the US Treasury rate and the maturity of the reference rate used, such as three months or six months LIBOR.",
                            "label":  "Debt Instrument, Description of Variable Rate Basis",
                            "terseLabel":  "Variable rate basis"
                            }
                        }
                    },
                "localname":  "DebtInstrumentDescriptionOfVariableRateBasis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentFairValue":  {
                "auth_ref":  [
                    "r484"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of debt instrument payable, including, but not limited to, notes payable and loans payable.",
                            "label":  "Debt Instrument, Fair Value Disclosure",
                            "terseLabel":  "Borrowings"
                            }
                        }
                    },
                "localname":  "DebtInstrumentFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Debt Instrument [Line Items]",
                            "terseLabel":  "BORROWINGS"
                            }
                        }
                    },
                "localname":  "DebtInstrumentLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentTable":  {
                "auth_ref":  [
                    "r31",
                    "r96",
                    "r286",
                    "r287",
                    "r288",
                    "r289",
                    "r499",
                    "r500",
                    "r502",
                    "r641"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation.  These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
                            "label":  "Schedule of Long-term Debt Instruments [Table]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger":  {
                "auth_ref":  [
                    "r217",
                    "r247",
                    "r250"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for more than 12 months, without allowance for credit loss.  Includes beneficial interest in securitized financial asset.",
                            "label":  "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer",
                            "terseLabel":  "Fair Value, Over Twelve Months"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss":  {
                "auth_ref":  [
                    "r217",
                    "r247"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without allowance for credit loss.  Includes beneficial interest in securitized financial asset.",
                            "label":  "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss",
                            "negatedLabel":  "Gross Unrealized Loss, Over Twelve Months"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions":  {
                "auth_ref":  [
                    "r245"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without an allowance for credit loss.  Includes beneficial interest in securitized financial asset.",
                            "label":  "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer, Number of Positions",
                            "terseLabel":  "Number of Securities, Over Twelve Months"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months":  {
                "auth_ref":  [
                    "r217",
                    "r247",
                    "r250"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss.  Includes beneficial interest in securitized financial asset.",
                            "label":  "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months",
                            "terseLabel":  "Fair Value, Less Than Twelve Months"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss":  {
                "auth_ref":  [
                    "r217",
                    "r247"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss.  Includes beneficial interest in securitized financial asset.",
                            "label":  "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss",
                            "negatedLabel":  "Gross Unrealized Loss, Less Than Twelve Months"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions":  {
                "auth_ref":  [
                    "r245"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without an allowance for credit loss.  Includes beneficial interest in securitized financial asset.",
                            "label":  "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months, Number of Positions",
                            "terseLabel":  "Number of Securities, Less Than Twelve Months"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_DebtSecuritiesAvailableForSaleRealizedGain":  {
                "auth_ref":  [
                    "r219"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of realized gain on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Available-for-sale Securities, Gross Realized Gains",
                            "terseLabel":  "Gross gains on sales and calls"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleRealizedGain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLossExcludingOtherThanTemporaryImpairment":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NoninterestIncome",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), excluding other-than-temporary impairment (OTTI).",
                            "label":  "Available-for-sale Securities, Gross Realized Gain (Loss), Excluding Other than Temporary Impairments",
                            "negatedLabel":  "Net realized security gains",
                            "terseLabel":  "Realized security gains"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleRealizedGainLossExcludingOtherThanTemporaryImpairment",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtSecuritiesAvailableForSaleRestricted":  {
                "auth_ref":  [
                    "r537"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of restricted investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Debt Securities, Available-for-sale, Restricted",
                            "terseLabel":  "Securities held as collateral at fair value",
                            "verboseLabel":  "Amortized cost estimated fair value"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleRestricted",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtSecuritiesAvailableForSaleTable":  {
                "auth_ref":  [
                    "r221"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Debt Securities, Available-for-sale [Table]"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition":  {
                "auth_ref":  [
                    "r214",
                    "r243",
                    "r250"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position without allowance for credit loss.",
                            "label":  "Debt Securities, Available-for-sale, Unrealized Loss Position",
                            "totalLabel":  "Total Fair Value"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss":  {
                "auth_ref":  [
                    "r215",
                    "r244"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss.  Includes beneficial interest in securitized financial asset.",
                            "label":  "Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss",
                            "negatedTotalLabel":  "Total Gross Unrealized Loss"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock":  {
                "auth_ref":  [
                    "r213",
                    "r246",
                    "r250"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss.  Includes beneficial interest in securitized financial asset.",
                            "label":  "Debt Securities, Available-for-sale, Unrealized Loss Position, Fair Value [Table Text Block]",
                            "terseLabel":  "Schedule of securities with gross unrealized losses aggregated by investment category and length of time these individual securities have been in a loss position"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions":  {
                "auth_ref":  [
                    "r216",
                    "r245"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss.  Includes beneficial interest in securitized financial asset.",
                            "label":  "Debt Securities, Available-for-sale, Unrealized Loss Position, Number of Positions",
                            "totalLabel":  "Total Number of Securities"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_DebtWeightedAverageInterestRate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average interest rate of debt outstanding.",
                            "label":  "Debt, Weighted Average Interest Rate",
                            "terseLabel":  "Interest rate on note (as a percent)"
                            }
                        }
                    },
                "localname":  "DebtWeightedAverageInterestRate",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense":  {
                "auth_ref":  [
                    "r296",
                    "r394"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The compensation expense recognized during the period pertaining to the deferred compensation arrangement.",
                            "label":  "Deferred Compensation Arrangement with Individual, Compensation Expense",
                            "terseLabel":  "Deferred compensation expense"
                            }
                        }
                    },
                "localname":  "DeferredCompensationArrangementWithIndividualCompensationExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Deferred Compensation Arrangement with Individual, Excluding Share-based Payments and Postretirement Benefits [Line Items]",
                            "terseLabel":  "DEFERRED COMPENSATION PLAN"
                            }
                        }
                    },
                "localname":  "DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlanDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DeferredCompensationArrangementWithIndividualRecordedLiability":  {
                "auth_ref":  [
                    "r296"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The carrying amount of the liability as of the balance sheet date to an individual under a deferred compensation arrangement.  This amount may be the result of periodic accruals made over the period of active employment, or reflect termination benefits resulting contractual terms or a death benefit.",
                            "label":  "Deferred Compensation Arrangement with Individual, Recorded Liability",
                            "terseLabel":  "Liability for vested benefits under the plan"
                            }
                        }
                    },
                "localname":  "DeferredCompensationArrangementWithIndividualRecordedLiability",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredIncomeTaxAssetsNet":  {
                "auth_ref":  [
                    "r421",
                    "r422"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  10.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, with jurisdictional netting.",
                            "label":  "Deferred Income Tax Assets, Net",
                            "terseLabel":  "Deferred tax asset"
                            }
                        }
                    },
                "localname":  "DeferredIncomeTaxAssetsNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredIncomeTaxExpenseBenefit":  {
                "auth_ref":  [
                    "r81",
                    "r95",
                    "r437",
                    "r443",
                    "r444",
                    "r445"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_IncomeTaxExpenseBenefit",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
                            "label":  "Deferred Income Tax Expense (Benefit)",
                            "terseLabel":  "Deferred tax expense"
                            }
                        }
                    },
                "localname":  "DeferredIncomeTaxExpenseBenefit",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredIncomeTaxLiabilities":  {
                "auth_ref":  [
                    "r12",
                    "r13",
                    "r428",
                    "r593",
                    "r652"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_DeferredTaxAssetsLiabilitiesNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of deferred tax liability attributable to taxable temporary differences.",
                            "label":  "Deferred Tax Liabilities, Gross",
                            "negatedTotalLabel":  "Total deferred tax liabilities"
                            }
                        }
                    },
                "localname":  "DeferredIncomeTaxLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredTaxAssetsGross":  {
                "auth_ref":  [
                    "r429"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_DeferredTaxAssetsLiabilitiesNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
                            "label":  "Deferred Tax Assets, Gross",
                            "totalLabel":  "Total deferred tax assets"
                            }
                        }
                    },
                "localname":  "DeferredTaxAssetsGross",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredTaxAssetsGrossAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Deferred Tax Assets, Gross [Abstract]",
                            "terseLabel":  "Deferred tax assets:"
                            }
                        }
                    },
                "localname":  "DeferredTaxAssetsGrossAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DeferredTaxAssetsLiabilitiesNet":  {
                "auth_ref":  [
                    "r430"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting.",
                            "label":  "Deferred Tax Assets, Net of Valuation Allowance",
                            "totalLabel":  "Net deferred tax asset"
                            }
                        }
                    },
                "localname":  "DeferredTaxAssetsLiabilitiesNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredTaxAssetsOperatingLossCarryforwards":  {
                "auth_ref":  [
                    "r434",
                    "r435"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_DeferredTaxAssetsGross",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards.",
                            "label":  "Deferred Tax Assets, Operating Loss Carryforwards",
                            "terseLabel":  "NOL carryforward"
                            }
                        }
                    },
                "localname":  "DeferredTaxAssetsOperatingLossCarryforwards",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredTaxAssetsOther":  {
                "auth_ref":  [
                    "r434",
                    "r435"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  9.0,
                        "parentTag":  "us-gaap_DeferredTaxAssetsGross",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other.",
                            "label":  "Deferred Tax Assets, Other",
                            "terseLabel":  "Other"
                            }
                        }
                    },
                "localname":  "DeferredTaxAssetsOther",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation":  {
                "auth_ref":  [
                    "r434",
                    "r435"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_DeferredTaxAssetsGross",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from employee compensation.",
                            "label":  "Deferred Tax Assets, Tax Deferred Expense, Compensation and Benefits, Employee Compensation",
                            "terseLabel":  "Deferred compensation"
                            }
                        }
                    },
                "localname":  "DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost":  {
                "auth_ref":  [
                    "r434",
                    "r435"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_DeferredTaxAssetsGross",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from share-based compensation.",
                            "label":  "Deferred Tax Assets, Tax Deferred Expense, Compensation and Benefits, Share-based Compensation Cost",
                            "terseLabel":  "Stock compensation"
                            }
                        }
                    },
                "localname":  "DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses":  {
                "auth_ref":  [
                    "r434",
                    "r435"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_DeferredTaxAssetsGross",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from the provision for loan losses.",
                            "label":  "Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Provision for Loan Losses",
                            "terseLabel":  "Allowance for loan losses"
                            }
                        }
                    },
                "localname":  "DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredTaxLiabilitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Deferred Tax Liabilities, Gross [Abstract]",
                            "terseLabel":  "Deferred tax liabilities:"
                            }
                        }
                    },
                "localname":  "DeferredTaxLiabilitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DeferredTaxLiabilitiesOther":  {
                "auth_ref":  [
                    "r434",
                    "r435"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_DeferredIncomeTaxLiabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of deferred tax liability attributable to taxable temporary differences classified as other.",
                            "label":  "Deferred Tax Liabilities, Other",
                            "negatedLabel":  "Other"
                            }
                        }
                    },
                "localname":  "DeferredTaxLiabilitiesOther",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredTaxLiabilitiesUnrealizedGainsOnTradingSecurities":  {
                "auth_ref":  [
                    "r434",
                    "r435"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_DeferredIncomeTaxLiabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of deferred tax liability attributable to taxable temporary differences from unrealized gains on trading securities.",
                            "label":  "Deferred Tax Liabilities, Unrealized Gains on Trading Securities",
                            "negatedLabel":  "Unrealized gain on securities"
                            }
                        }
                    },
                "localname":  "DeferredTaxLiabilitiesUnrealizedGainsOnTradingSecurities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets":  {
                "auth_ref":  [
                    "r316",
                    "r373"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in plan assets of defined benefit plan from actual return (loss) determined by change in fair value of plan assets adjusted for contributions, benefit payments, and other expenses.",
                            "label":  "Defined Benefit Plan, Actual Return on Plan Assets",
                            "terseLabel":  "Actual return on plan assets"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanActualReturnOnPlanAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanActuarialGainLoss":  {
                "auth_ref":  [
                    "r309"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of gain (loss) from change in actuarial assumptions which (increases) decreases benefit obligation of defined benefit plan.  Assumptions include, but are not limited to, interest, mortality, employee turnover, salary, and temporary deviation from substantive plan.",
                            "label":  "Defined Benefit Plan, Actuarial Gain (Loss)",
                            "terseLabel":  "Actuarial (gain) loss"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanActuarialGainLoss",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate":  {
                "auth_ref":  [
                    "r349"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average rate for present value of future retirement benefits cash flows, used to determine net periodic benefit cost of defined benefit plan.",
                            "label":  "Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Discount Rate",
                            "terseLabel":  "Weighted average discount rate"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets":  {
                "auth_ref":  [
                    "r350",
                    "r372"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average rate of return on plan assets, reflecting average rate of earnings expected on existing plan assets and expected contributions, used to determine net periodic benefit cost of defined benefit plan.",
                            "label":  "Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Expected Long-term Return on Assets",
                            "terseLabel":  "Expected long-term rate of return on plan assets"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DefinedBenefitPlanBenefitObligation":  {
                "auth_ref":  [
                    "r304"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of actuarial present value of benefits attributed to service rendered by employee for defined benefit plan.",
                            "label":  "Defined Benefit Plan, Benefit Obligation",
                            "periodEndLabel":  "Benefit obligation at end of year",
                            "periodStartLabel":  "Benefit obligation, beginning of year"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanBenefitObligation",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid":  {
                "auth_ref":  [
                    "r311",
                    "r377"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of payment to participant of defined benefit plan which decreases benefit obligation.  For pension plan, payment includes, but is not limited to, pension benefits and death benefits.  For other postretirement plan, payment includes, but is not limited to, prescription drug benefits, health care benefits, life insurance benefits, and legal, educational and advisory services.",
                            "label":  "Defined Benefit Plan, Benefits Paid",
                            "negatedLabel":  "Benefits paid"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanBenefitObligationBenefitsPaid",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis":  {
                "auth_ref":  [
                    "r326",
                    "r327",
                    "r329",
                    "r330",
                    "r331",
                    "r332",
                    "r333",
                    "r334",
                    "r353",
                    "r373"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by defined benefit plan asset investment.",
                            "label":  "Defined Benefit Plan, Plan Assets, Category [Axis]"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanByPlanAssetCategoriesAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Defined Benefit Plan, Change in Benefit Obligation [Roll Forward]",
                            "terseLabel":  "Change in benefit obligation:"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanChangeInBenefitObligationRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Defined Benefit Plan, Change in Fair Value of Plan Assets [Roll Forward]",
                            "terseLabel":  "Change in plan assets"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DefinedBenefitPlanContributionsByEmployer":  {
                "auth_ref":  [
                    "r318",
                    "r327",
                    "r329",
                    "r371",
                    "r373",
                    "r374"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of contribution received by defined benefit plan from employer which increases plan assets.",
                            "label":  "Defined Benefit Plan, Contributions by Employer",
                            "terseLabel":  "Employer contributions"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanContributionsByEmployer",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanDisclosureLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Defined Benefit Plan Disclosure [Line Items]",
                            "terseLabel":  "Defined Benefit Pension Plan"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanDisclosureLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Defined Benefit Plan, Expected Future Benefit Payments, Fiscal Year Maturity [Abstract]",
                            "terseLabel":  "Anticipated distributions from the plan"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter":  {
                "auth_ref":  [
                    "r336"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails":  {
                        "order":  1.0,
                        "parentTag":  "mfnc_DefinedBenefitPlanExpectedFutureBenefitPayments",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of benefit for defined benefit plan expected to be paid in five fiscal years after fifth fiscal year following current fiscal year.",
                            "label":  "Defined Benefit Plan, Expected Future Benefit Payments, Five Fiscal Years Thereafter",
                            "terseLabel":  "2026-2030"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths":  {
                "auth_ref":  [
                    "r336"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails":  {
                        "order":  2.0,
                        "parentTag":  "mfnc_DefinedBenefitPlanExpectedFutureBenefitPayments",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of benefit for defined benefit plan expected to be paid in next fiscal year following current fiscal year.",
                            "label":  "Defined Benefit Plan, Expected Future Benefit Payments, Next Twelve Months",
                            "terseLabel":  "2021"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive":  {
                "auth_ref":  [
                    "r336"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails":  {
                        "order":  3.0,
                        "parentTag":  "mfnc_DefinedBenefitPlanExpectedFutureBenefitPayments",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of benefit for defined benefit plan expected to be paid in fifth fiscal year following current fiscal year.",
                            "label":  "Defined Benefit Plan, Expected Future Benefit Payments, Year Five",
                            "terseLabel":  "2025"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour":  {
                "auth_ref":  [
                    "r336"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails":  {
                        "order":  4.0,
                        "parentTag":  "mfnc_DefinedBenefitPlanExpectedFutureBenefitPayments",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of benefit for defined benefit plan expected to be paid in fourth fiscal year following current fiscal year.",
                            "label":  "Defined Benefit Plan, Expected Future Benefit Payments, Year Four",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree":  {
                "auth_ref":  [
                    "r336"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails":  {
                        "order":  5.0,
                        "parentTag":  "mfnc_DefinedBenefitPlanExpectedFutureBenefitPayments",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of benefit for defined benefit plan expected to be paid in third fiscal year following current fiscal year.",
                            "label":  "Defined Benefit Plan, Expected Future Benefit Payments, Year Three",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo":  {
                "auth_ref":  [
                    "r336"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails":  {
                        "order":  6.0,
                        "parentTag":  "mfnc_DefinedBenefitPlanExpectedFutureBenefitPayments",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of benefit for defined benefit plan expected to be paid in second fiscal year following current fiscal year.",
                            "label":  "Defined Benefit Plan, Expected Future Benefit Payment, Year Two",
                            "terseLabel":  "2022"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear":  {
                "auth_ref":  [
                    "r337",
                    "r374"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of contribution expected to be received by defined benefit plan from employer in next fiscal year following current fiscal year.",
                            "label":  "Defined Benefit Plan, Expected Future Employer Contributions, Next Fiscal Year",
                            "terseLabel":  "Expected contributions to the plan next fiscal year"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanFairValueOfPlanAssets":  {
                "auth_ref":  [
                    "r315",
                    "r327",
                    "r329",
                    "r330",
                    "r373"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of asset segregated and restricted to provide benefit under defined benefit plan.  Asset includes, but is not limited to, stock, bond, other investment, earning from investment, and contribution by employer and employee.",
                            "label":  "Defined Benefit Plan, Fair Value of Plan Assets",
                            "periodEndLabel":  "Fair value of plan assets at end of year",
                            "periodStartLabel":  "Fair value of plan assets, beginning of year"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanFairValueOfPlanAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanFundedStatusOfPlan":  {
                "auth_ref":  [
                    "r302",
                    "r324",
                    "r373"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of funded (unfunded) status of defined benefit plan, measured as difference between fair value of plan assets and benefit obligation.  Includes, but is not limited to, overfunded (underfunded) status.",
                            "label":  "Defined Benefit Plan, Funded Status of Plan",
                            "terseLabel":  "Funded status, included with other liabilities"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanFundedStatusOfPlan",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanInformationAboutPlanAssetsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Defined Benefit Plan, Information about Plan Assets [Abstract]",
                            "terseLabel":  "Plan assets"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanInformationAboutPlanAssetsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DefinedBenefitPlanInterestCost":  {
                "auth_ref":  [
                    "r303",
                    "r307",
                    "r340",
                    "r365",
                    "r373",
                    "r374"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cost recognized for passage of time related to defined benefit plan.",
                            "label":  "Defined Benefit Plan, Interest Cost",
                            "terseLabel":  "Interest cost"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanInterestCost",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid":  {
                "auth_ref":  [
                    "r320",
                    "r377"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of payment to participant under defined benefit plan which decreases plan assets.  For pension plan, payment includes, but is not limited to, pension benefits and death benefits.  For other postretirement plan, payment includes, but is not limited to, prescription drug benefits, health care benefits, life insurance benefits, and legal, educational and advisory services.",
                            "label":  "Defined Benefit Plan, Plan Assets, Benefits Paid",
                            "negatedLabel":  "Benefits paid"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanPlanAssetsBenefitsPaid",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage":  {
                "auth_ref":  [
                    "r326",
                    "r373"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage of target investment allocation to total plan assets.  Includes, but is not limited to, percentage on weighted-average basis if more than one plan.",
                            "label":  "Defined Benefit Plan, Target Plan Asset Allocations Range Maximum",
                            "terseLabel":  "Target Allocation"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanPlanAssetsTargetAllocationPercentage",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations":  {
                "auth_ref":  [
                    "r326"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage of actual investment allocation to total plan assets.  Includes, but is not limited to, percentage on weighted-average basis if more than one plan.",
                            "label":  "Defined Benefit Plan, Actual Plan Asset Allocations",
                            "terseLabel":  "Actual Allocation"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanWeightedAverageAssetAllocations",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Defined Benefit Plan, Weighted Average Assumptions Used in Calculating Net Periodic Benefit Cost [Abstract]",
                            "terseLabel":  "Assumptions in the actuarial valuation"
                            }
                        }
                    },
                "localname":  "DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DefinedContributionPlanCostRecognized":  {
                "auth_ref":  [
                    "r378"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cost for defined contribution plan.",
                            "label":  "Defined Contribution Plan, Cost Recognized",
                            "terseLabel":  "Retirement plan contributions charged to operations"
                            }
                        }
                    },
                "localname":  "DefinedContributionPlanCostRecognized",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRetirementPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DepositLiabilitiesDisclosuresTextBlock":  {
                "auth_ref":  [
                    "r599",
                    "r640"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for deposit liabilities including data and tables.  It may include a description of the entity's deposit liabilities, the aggregate amount of time deposits (including certificates of deposit) in denominations of $100,000 or more at the balance sheet date; the aggregate amount of any demand deposits that have been reclassified as loan balances, such as overdrafts, at the balance sheet date; deposits that are received on terms other than those in the normal course of business, the amount of accrued interest on deposit liabilities; securities, mortgage loans or other financial instruments that serve as collateral for deposits; for time deposits having a remaining term of more than one year, the aggregate amount of maturities for each of the five years following the balance sheet date; and the weighted average interest rate for all deposit liabilities held by the entity.",
                            "label":  "Deposit Liabilities Disclosures [Text Block]",
                            "terseLabel":  "DEPOSITS"
                            }
                        }
                    },
                "localname":  "DepositLiabilitiesDisclosuresTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDeposits"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_Deposits":  {
                "auth_ref":  [
                    "r599"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, Negotiable Order of Withdrawal (NOW) and time deposits among others.",
                            "label":  "Deposits.",
                            "totalLabel":  "Total deposits"
                            }
                        }
                    },
                "localname":  "Deposits",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DepositsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "DEPOSITS",
                            "terseLabel":  "Deposits:"
                            }
                        }
                    },
                "localname":  "DepositsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DepositsFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of deposit liabilities held by the entity, including, but not limited to, foreign and domestic, interest and noninterest bearing, demand deposits, saving deposits, negotiable orders of withdrawal (NOW) and time deposits.",
                            "label":  "Deposits, Fair Value Disclosure",
                            "terseLabel":  "Deposits"
                            }
                        }
                    },
                "localname":  "DepositsFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DepositsInterestBearingAndNoninterestBearingAlternativeAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Deposits, Interest-bearing and Noninterest-bearing, Alternative [Abstract]",
                            "terseLabel":  "Distribution of deposits"
                            }
                        }
                    },
                "localname":  "DepositsInterestBearingAndNoninterestBearingAlternativeAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DepositsSavingsDeposits":  {
                "auth_ref":  [
                    "r599"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_Deposits",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of interest bearing deposits with no stated maturity, which may include passbook and statement savings accounts and money-market deposit accounts (MMDAs).",
                            "label":  "Deposits, Savings Deposits",
                            "terseLabel":  "Savings"
                            }
                        }
                    },
                "localname":  "DepositsSavingsDeposits",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_Depreciation":  {
                "auth_ref":  [
                    "r81",
                    "r268"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives.  Includes production and non-production related depreciation.",
                            "label":  "Depreciation",
                            "terseLabel":  "Depreciation charged to operating expenses"
                            }
                        }
                    },
                "localname":  "Depreciation",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DepreciationAndAmortization":  {
                "auth_ref":  [
                    "r81",
                    "r268"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The current period expense charged against earnings on long-lived, physical assets not used in production, and which are not intended for resale, to allocate or recognize the cost of such assets over their useful lives; or to record the reduction in book value of an intangible asset over the benefit period of such asset; or to reflect consumption during the period of an asset that is not used in production.",
                            "label":  "Depreciation, Depletion and Amortization, Nonproduction",
                            "terseLabel":  "Depreciation and amortization"
                            }
                        }
                    },
                "localname":  "DepreciationAndAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock":  {
                "auth_ref":  [
                    "r416"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for share-based payment arrangement.",
                            "label":  "Disclosure of Compensation Related Costs, Share-based Payments [Text Block]",
                            "terseLabel":  "STOCK COMPENSATION PLANS"
                            }
                        }
                    },
                "localname":  "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlans"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "STOCK COMPENSATION PLANS"
                            }
                        }
                    },
                "localname":  "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DividendsCommonStock":  {
                "auth_ref":  [
                    "r290",
                    "r639"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash, stock and payment-in-kind (PIK).",
                            "label":  "Dividends, Common Stock",
                            "negatedLabel":  "Dividend on common stock",
                            "terseLabel":  "Dividend on common stock"
                            }
                        }
                    },
                "localname":  "DividendsCommonStock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EarningsPerShareAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "EARNINGS PER SHARE",
                            "terseLabel":  "INCOME PER COMMON SHARE:",
                            "verboseLabel":  "(Numerator):"
                            }
                        }
                    },
                "localname":  "EarningsPerShareAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareBasic":  {
                "auth_ref":  [
                    "r57",
                    "r106",
                    "r107",
                    "r108",
                    "r109",
                    "r110",
                    "r114",
                    "r117",
                    "r120",
                    "r121",
                    "r122",
                    "r125",
                    "r126",
                    "r612",
                    "r666"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
                            "label":  "Earnings Per Share, Basic",
                            "terseLabel":  "Basic (in dollars per share)"
                            }
                        }
                    },
                "localname":  "EarningsPerShareBasic",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_EarningsPerShareBasicAndDilutedAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Earnings Per Share, Basic and Diluted [Abstract]",
                            "terseLabel":  "Income per common share:"
                            }
                        }
                    },
                "localname":  "EarningsPerShareBasicAndDilutedAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareBasicAndDilutedOtherDisclosuresAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "(Denominator):"
                            }
                        }
                    },
                "localname":  "EarningsPerShareBasicAndDilutedOtherDisclosuresAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareDiluted":  {
                "auth_ref":  [
                    "r57",
                    "r106",
                    "r107",
                    "r108",
                    "r109",
                    "r110",
                    "r117",
                    "r120",
                    "r121",
                    "r122",
                    "r125",
                    "r126",
                    "r612",
                    "r666"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
                            "label":  "Earnings Per Share, Diluted",
                            "terseLabel":  "Diluted (in dollars per share)"
                            }
                        }
                    },
                "localname":  "EarningsPerShareDiluted",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_EarningsPerSharePolicyTextBlock":  {
                "auth_ref":  [
                    "r92",
                    "r123",
                    "r124"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security.  Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements.",
                            "label":  "Earnings Per Share, Policy [Policy Text Block]",
                            "terseLabel":  "Earnings per Common Share"
                            }
                        }
                    },
                "localname":  "EarningsPerSharePolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized":  {
                "auth_ref":  [
                    "r407"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
                            "label":  "Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized",
                            "verboseLabel":  "Unrecognized compensation expenses"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EquipmentExpense":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NoninterestExpense",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This element represents equipment expense including depreciation, repairs, rentals, and service contract costs.  This item also includes equipment purchases which do not qualify for capitalization in accordance with the entity's accounting policy.  This item may also include furniture expenses.",
                            "label":  "Equipment Expense",
                            "terseLabel":  "Furniture and equipment"
                            }
                        }
                    },
                "localname":  "EquipmentExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "SHAREHOLDERS' EQUITY"
                            }
                        }
                    },
                "localname":  "EquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EquityComponentDomain":  {
                "auth_ref":  [
                    "r101",
                    "r102",
                    "r103",
                    "r105",
                    "r111",
                    "r113",
                    "r127",
                    "r225",
                    "r285",
                    "r290",
                    "r409",
                    "r410",
                    "r411",
                    "r439",
                    "r440",
                    "r492",
                    "r493",
                    "r494",
                    "r495",
                    "r496",
                    "r497",
                    "r674",
                    "r675",
                    "r676"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
                            "label":  "Equity Component [Domain]",
                            "terseLabel":  "Equity Component [Domain]"
                            }
                        }
                    },
                "localname":  "EquityComponentDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_EquitySecuritiesMember":  {
                "auth_ref":  [
                    "r6",
                    "r10",
                    "r221",
                    "r654",
                    "r685",
                    "r686",
                    "r687"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Ownership interest or right to acquire or dispose of ownership interest in corporations and other legal entities for which ownership interest is represented by shares of common or preferred stock, convertible securities, stock rights, or stock warrants.",
                            "label":  "Equity Securities [Member]",
                            "terseLabel":  "Equity securities"
                            }
                        }
                    },
                "localname":  "EquitySecuritiesMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_EstimateOfFairValueFairValueDisclosureMember":  {
                "auth_ref":  [
                    "r484"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measured as an estimate of fair value.",
                            "label":  "Estimate Of Fair Value Fair Value Disclosure [Member]",
                            "terseLabel":  "Estimated Fair Value"
                            }
                        }
                    },
                "localname":  "EstimateOfFairValueFairValueDisclosureMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
                            "terseLabel":  "Fair value measurements",
                            "verboseLabel":  "Fair value"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueOtherAssetsAndOtherLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable":  {
                "auth_ref":  [
                    "r470",
                    "r471",
                    "r472",
                    "r480"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
                            "label":  "Fair Value Measurements, Recurring and Nonrecurring [Table]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueOtherAssetsAndOtherLiabilitiesDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock":  {
                "auth_ref":  [
                    "r470",
                    "r471",
                    "r473"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of assets and liabilities by class, including financial instruments measured at fair value that are classified in shareholders' equity, if any, that are measured at fair value on a nonrecurring basis in periods after initial recognition (for example, impaired assets).  Disclosures may include, but are not limited to: (a) the fair value measurements recorded and the reasons for the measurements and (b) the level within the fair value hierarchy in which the fair value measurements are categorized in their entirety (levels 1, 2, 3).",
                            "label":  "Fair Value Measurements, Nonrecurring [Table Text Block]",
                            "terseLabel":  "Schedule of assets measured at fair value on a non-recurring basis"
                            }
                        }
                    },
                "localname":  "FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock":  {
                "auth_ref":  [
                    "r470",
                    "r471"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of assets, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, by class that are measured at fair value on a recurring basis.  The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
                            "label":  "Fair Value, Assets Measured on Recurring Basis [Table Text Block]",
                            "terseLabel":  "Schedule of investment securities measured at fair value on a recurring basis"
                            }
                        }
                    },
                "localname":  "FairValueAssetsMeasuredOnRecurringBasisTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain":  {
                "auth_ref":  [
                    "r476"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Class of asset.",
                            "label":  "Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]",
                            "terseLabel":  "Asset Class [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]",
                            "terseLabel":  "Fair values of assets using Level 3 inputs, specifically discounted cash flow projections"
                            }
                        }
                    },
                "localname":  "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueLevel3ActivitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueLevel3ActivitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable":  {
                "auth_ref":  [
                    "r476",
                    "r480"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of assets using significant unobservable inputs (level 3).  Such reconciliation, separately presenting changes during the period, at a minimum, may include, but is not limited to: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income, and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
                            "label":  "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueLevel3ActivitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock":  {
                "auth_ref":  [
                    "r476",
                    "r480"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the fair value measurement of assets using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
                            "label":  "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
                            "terseLabel":  "Schedule of activity in level three assets"
                            }
                        }
                    },
                "localname":  "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]",
                            "terseLabel":  "Fair Value Measurements"
                            }
                        }
                    },
                "localname":  "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByAssetClassAxis":  {
                "auth_ref":  [
                    "r470",
                    "r480"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by class of asset.",
                            "label":  "Asset Class [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByAssetClassAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByBalanceSheetGroupingTable":  {
                "auth_ref":  [
                    "r470",
                    "r485",
                    "r486"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
                            "label":  "Fair Value, by Balance Sheet Grouping [Table]"
                            }
                        }
                    },
                "localname":  "FairValueByBalanceSheetGroupingTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByBalanceSheetGroupingTextBlock":  {
                "auth_ref":  [
                    "r470",
                    "r485"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
                            "label":  "Fair Value, by Balance Sheet Grouping [Table Text Block]",
                            "terseLabel":  "Schedule presenting information for financial instruments"
                            }
                        }
                    },
                "localname":  "FairValueByBalanceSheetGroupingTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueByFairValueHierarchyLevelAxis":  {
                "auth_ref":  [
                    "r327",
                    "r329",
                    "r330",
                    "r331",
                    "r332",
                    "r333",
                    "r334",
                    "r373",
                    "r471",
                    "r519",
                    "r520",
                    "r521"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
                            "label":  "Fair Value, Hierarchy [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByFairValueHierarchyLevelAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueLevel3ActivitiesDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueOtherAssetsAndOtherLiabilitiesDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByMeasurementBasisAxis":  {
                "auth_ref":  [
                    "r470",
                    "r481"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by measurement basis.",
                            "label":  "Measurement Basis [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByMeasurementBasisAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByMeasurementFrequencyAxis":  {
                "auth_ref":  [
                    "r470",
                    "r471",
                    "r474",
                    "r475",
                    "r482"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by measurement frequency.",
                            "label":  "Measurement Frequency [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByMeasurementFrequencyAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueOtherAssetsAndOtherLiabilitiesDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosureOffbalanceSheetRisksAmountLiability":  {
                "auth_ref":  [
                    "r484"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The fair value of financial liabilities, which are not recognized in the financial statements (off-balance sheet) because they fail to meet some other criterion for recognition.",
                            "label":  "Fair Value Disclosure, Off-balance Sheet Risks, Amount, Liability",
                            "totalLabel":  "Commitments"
                            }
                        }
                    },
                "localname":  "FairValueDisclosureOffbalanceSheetRisksAmountLiability",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FairValueDisclosuresAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "FAIR VALUE"
                            }
                        }
                    },
                "localname":  "FairValueDisclosuresAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosuresTextBlock":  {
                "auth_ref":  [
                    "r479"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities.  Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
                            "label":  "Fair Value Disclosures [Text Block]",
                            "terseLabel":  "FAIR VALUE"
                            }
                        }
                    },
                "localname":  "FairValueDisclosuresTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValue"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueInputsLevel1Member":  {
                "auth_ref":  [
                    "r327",
                    "r329",
                    "r334",
                    "r373",
                    "r471",
                    "r519"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
                            "label":  "Fair Value Inputs Level1 [Member]",
                            "terseLabel":  "Level 1"
                            }
                        }
                    },
                "localname":  "FairValueInputsLevel1Member",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueInputsLevel2Member":  {
                "auth_ref":  [
                    "r327",
                    "r329",
                    "r334",
                    "r373",
                    "r471",
                    "r520"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
                            "label":  "Fair Value Inputs Level2 [Member]",
                            "terseLabel":  "Level 2"
                            }
                        }
                    },
                "localname":  "FairValueInputsLevel2Member",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueInputsLevel3Member":  {
                "auth_ref":  [
                    "r327",
                    "r329",
                    "r330",
                    "r331",
                    "r332",
                    "r333",
                    "r334",
                    "r373",
                    "r471",
                    "r521"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
                            "label":  "Fair Value Inputs Level3 [Member]",
                            "terseLabel":  "Level 3"
                            }
                        }
                    },
                "localname":  "FairValueInputsLevel3Member",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueLevel3ActivitiesDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueOtherAssetsAndOtherLiabilitiesDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementFrequencyDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement frequency.",
                            "label":  "Fair Value Measurement Frequency [Domain]",
                            "terseLabel":  "Fair Value, Measurement Frequency [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementFrequencyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueOtherAssetsAndOtherLiabilitiesDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1":  {
                "auth_ref":  [
                    "r477"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3).",
                            "label":  "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings",
                            "terseLabel":  "Realized net gain (losses)"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueLevel3ActivitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of transfer of financial instrument classified as an asset into (out of) level 3 of the fair value hierarchy.",
                            "label":  "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers, Net",
                            "terseLabel":  "Transfers in (out) of level 3"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueLevel3ActivitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FairValueMeasurementsFairValueHierarchyDomain":  {
                "auth_ref":  [
                    "r327",
                    "r329",
                    "r330",
                    "r331",
                    "r332",
                    "r333",
                    "r334",
                    "r373",
                    "r519",
                    "r520",
                    "r521"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
                            "label":  "Fair Value Measurements Fair Value Hierarchy [Domain]",
                            "terseLabel":  "Fair Value Hierarchy [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsFairValueHierarchyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueLevel3ActivitiesDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueOtherAssetsAndOtherLiabilitiesDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementsNonrecurringMember":  {
                "auth_ref":  [
                    "r470",
                    "r471",
                    "r474",
                    "r475",
                    "r478",
                    "r482"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Infrequent fair value measurement.  Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, not frequently measured at fair value.",
                            "label":  "Fair Value Measurements Nonrecurring [Member]",
                            "terseLabel":  "Nonrecurring"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsNonrecurringMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementsRecurringMember":  {
                "auth_ref":  [
                    "r479",
                    "r482"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Frequent fair value measurement.  Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
                            "label":  "Fair Value Measurements Recurring [Member]",
                            "terseLabel":  "Recurring"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsRecurringMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueOtherAssetsAndOtherLiabilitiesDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueOffBalanceSheetRisksDisclosureInformationLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]",
                            "terseLabel":  "Financial Instruments with Off-Balance-Sheet Risk"
                            }
                        }
                    },
                "localname":  "FairValueOffBalanceSheetRisksDisclosureInformationLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FederalDepositInsuranceCorporationPremiumExpense":  {
                "auth_ref":  [
                    "r622"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  9.0,
                        "parentTag":  "us-gaap_NoninterestExpense",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of expense for Federal Deposit Insurance Corporation (FDIC) insurance.",
                            "label":  "Federal Deposit Insurance Corporation Premium Expense",
                            "terseLabel":  "FDIC insurance assessment"
                            }
                        }
                    },
                "localname":  "FederalDepositInsuranceCorporationPremiumExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FederalFundsPurchased":  {
                "auth_ref":  [
                    "r600"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of short term borrowing where a bank borrows, at the federal funds rate, from another bank.",
                            "label":  "Federal Funds Purchased",
                            "terseLabel":  "Federal funds purchased"
                            }
                        }
                    },
                "localname":  "FederalFundsPurchased",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FederalFundsSold":  {
                "auth_ref":  [
                    "r605"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "mfnc_CashAndCashEquivalentsAtCarryingValueExcludingInterestBearingDeposits",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount outstanding of funds lent to other depository institutions, securities brokers, or securities dealers in the form of Federal Funds sold; for example, immediately available funds lent under agreements or contracts that mature in one business day or roll over under a continuing contract, regardless of the nature of the transaction or the collateral involved, excluding overnight lending for commercial and industrial purposes.  Also include Federal Funds sold under agreements to resell on a gross basis, excluding (1) sales of term Federal Funds, (2) due bills representing purchases of securities or other assets by the reporting bank that have not yet been delivered and similar instruments, (3) resale agreements that mature in more than one business day involving assets other than securities, and (4) yield maintenance dollar repurchase agreements.",
                            "label":  "Federal Funds Sold",
                            "terseLabel":  "Federal funds sold"
                            }
                        }
                    },
                "localname":  "FederalFundsSold",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FederalHomeLoanBankAdvancesMember":  {
                "auth_ref":  [
                    "r601"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Borrowings from the Federal Home Loan Bank, which are primarily used to cover shortages in the required reserve balance and also in times of liquidity shortages.  The member institution executes a promissory note, which is generally collateralized by government securities to the Federal Reserve or loans.",
                            "label":  "Federal Home Loan Bank Advances [Member]",
                            "terseLabel":  "Federal Home Loan Bank borrowings"
                            }
                        }
                    },
                "localname":  "FederalHomeLoanBankAdvancesMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FederalHomeLoanBankAdvancesWeightedAverageInterestRate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average interest rate on advances made and reported by Federal Home Loan Bank (FHLBank).",
                            "label":  "Federal Home Loan Bank, Advances, Weighted Average Interest Rate",
                            "terseLabel":  "Federal Home Loan Bank Borrowing Weighted Average Interest Rate"
                            }
                        }
                    },
                "localname":  "FederalHomeLoanBankAdvancesWeightedAverageInterestRate",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_FederalHomeLoanBankStock":  {
                "auth_ref":  [
                    "r638"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Federal Home Loan Bank (FHLB) stock represents an equity interest in a FHLB.  It does not have a readily determinable fair value because its ownership is restricted and it lacks a market (liquidity).",
                            "label":  "Federal Home Loan Bank Stock",
                            "terseLabel":  "Federal Home Loan Bank stock"
                            }
                        }
                    },
                "localname":  "FederalHomeLoanBankStock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseInterestExpense":  {
                "auth_ref":  [
                    "r507",
                    "r508",
                    "r510"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of interest expense on finance lease liability.",
                            "label":  "Finance Lease, Interest Expense",
                            "terseLabel":  "Interest on the lease liability"
                            }
                        }
                    },
                "localname":  "FinanceLeaseInterestExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancialAssetAcquiredWithCreditDeteriorationMember":  {
                "auth_ref":  [
                    "r196"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financial asset acquired with deteriorated credit quality.",
                            "label":  "Financial Asset Acquired With Credit Deterioration [Member]",
                            "terseLabel":  "Receivables Acquired with Deteriorated Credit Quality"
                            }
                        }
                    },
                "localname":  "FinancialAssetAcquiredWithCreditDeteriorationMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinancialInstrumentAxis":  {
                "auth_ref":  [
                    "r211",
                    "r212",
                    "r226",
                    "r227",
                    "r228",
                    "r230",
                    "r232",
                    "r246",
                    "r248",
                    "r249",
                    "r250",
                    "r516",
                    "r517",
                    "r518",
                    "r519",
                    "r520",
                    "r521",
                    "r523",
                    "r524",
                    "r525",
                    "r530",
                    "r531",
                    "r532",
                    "r533",
                    "r536",
                    "r540",
                    "r550",
                    "r551",
                    "r552",
                    "r553",
                    "r557",
                    "r558",
                    "r559",
                    "r560",
                    "r561",
                    "r562",
                    "r563",
                    "r564",
                    "r566",
                    "r567",
                    "r568"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of financial instrument.",
                            "label":  "Financial Instrument [Axis]"
                            }
                        }
                    },
                "localname":  "FinancialInstrumentAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueLevel3ActivitiesDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails",
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Financial Instruments, Financial Assets, Balance Sheet Groupings [Abstract]",
                            "terseLabel":  "Financial assets:"
                            }
                        }
                    },
                "localname":  "FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Financial Instruments, Financial Liabilities, Balance Sheet Groupings [Abstract]",
                            "terseLabel":  "Financial liabilities:"
                            }
                        }
                    },
                "localname":  "FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Financing Receivable, Allowance for Credit Loss, Additional Information [Abstract]",
                            "terseLabel":  "Ending balance ALLR:"
                            }
                        }
                    },
                "localname":  "FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment":  {
                "auth_ref":  [
                    "r165"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LoansAndLeasesReceivableAllowance",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The valuation allowance for financing receivables that are expected to be uncollectible that were collectively evaluated for impairment.",
                            "label":  "Financing Receivable, Allowance for Credit Losses, Collectively Evaluated for Impairment",
                            "terseLabel":  "Collectively evaluated"
                            }
                        }
                    },
                "localname":  "FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1":  {
                "auth_ref":  [
                    "r165"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LoansAndLeasesReceivableAllowance",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of valuation allowance for financing receivables that are expected to be uncollectible that were individually evaluated for impairment.",
                            "label":  "Financing Receivable, Allowance for Credit Losses, Individually Evaluated for Impairment",
                            "terseLabel":  "Individually evaluated"
                            }
                        }
                    },
                "localname":  "FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Financing Receivable, Allowance for Credit Losses [Line Items]",
                            "terseLabel":  "Breakdown of the allowance for loan losses and recorded balances in loans"
                            }
                        }
                    },
                "localname":  "FinancingReceivableAllowanceForCreditLossesLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment":  {
                "auth_ref":  [
                    "r166"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The balance of financing receivables that were collectively evaluated for impairment.",
                            "label":  "Financing Receivable, Collectively Evaluated for Impairment",
                            "terseLabel":  "Collectively evaluated"
                            }
                        }
                    },
                "localname":  "FinancingReceivableCollectivelyEvaluatedForImpairment",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock":  {
                "auth_ref":  [
                    "r175",
                    "r232"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of financing receivables by credit quality indicator.  The credit quality indicator is a statistic about the credit quality of financing receivables.  Examples include, but not limited to, consumer credit risk scores, credit-rating-agency ratings, an entity's internal credit risk grades, loan-to-value ratios, collateral, collection experience and other internal metrics.",
                            "label":  "Financing Receivable Credit Quality Indicators [Table Text Block]",
                            "terseLabel":  "Schedule of breakdown of loans by risk category"
                            }
                        }
                    },
                "localname":  "FinancingReceivableCreditQualityIndicatorsTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FinancingReceivableImpairedLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Financing Receivable, Impaired [Line Items]",
                            "terseLabel":  "Impaired Loans"
                            }
                        }
                    },
                "localname":  "FinancingReceivableImpairedLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment":  {
                "auth_ref":  [
                    "r166"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The balance of financing receivables that were individually evaluated for impairment.",
                            "label":  "Financing Receivable, Individually Evaluated for Impairment",
                            "terseLabel":  "Individually evaluated"
                            }
                        }
                    },
                "localname":  "FinancingReceivableIndividuallyEvaluatedForImpairment",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableModificationsLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Financing Receivable, Modifications [Line Items]",
                            "terseLabel":  "Troubled Debt Restructuring"
                            }
                        }
                    },
                "localname":  "FinancingReceivableModificationsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTroubledDebtRestructuringDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancingReceivableModificationsNumberOfContracts2":  {
                "auth_ref":  [
                    "r177"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of financing receivables that have been modified by troubled debt restructurings.",
                            "label":  "Financing Receivable, Modifications, Number of Contracts",
                            "terseLabel":  "Number of TDR's"
                            }
                        }
                    },
                "localname":  "FinancingReceivableModificationsNumberOfContracts2",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTroubledDebtRestructuringDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_FinancingReceivableModificationsRecordedInvestment":  {
                "auth_ref":  [
                    "r177",
                    "r197"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of financing receivable modified as troubled debt restructuring.",
                            "label":  "Financing Receivable, Modifications, Recorded Investment",
                            "terseLabel":  "Restructured loans"
                            }
                        }
                    },
                "localname":  "FinancingReceivableModificationsRecordedInvestment",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTroubledDebtRestructuringDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableModificationsSubsequentDefaultNumberOfContracts1":  {
                "auth_ref":  [
                    "r178"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of financing receivable contracts modified as troubled debt restructuring within previous 12 months, with subsequent payment default.",
                            "label":  "Financing Receivable, Troubled Debt Restructuring, Subsequent Default, Number of Contracts",
                            "terseLabel":  "Number of troubled debt restructurings that have defaulted"
                            }
                        }
                    },
                "localname":  "FinancingReceivableModificationsSubsequentDefaultNumberOfContracts1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTroubledDebtRestructuringDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_FinancingReceivablePortfolioSegmentAxis":  {
                "auth_ref":  [
                    "r226",
                    "r227",
                    "r233"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by the level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
                            "label":  "Financing Receivable Portfolio Segment [Axis]"
                            }
                        }
                    },
                "localname":  "FinancingReceivablePortfolioSegmentAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansTroubledDebtRestructuringDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancingReceivablePortfolioSegmentDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
                            "label":  "Financing Receivable Portfolio Segment [Domain]",
                            "terseLabel":  "Financing Receivable Portfolio Segment [Domain]"
                            }
                        }
                    },
                "localname":  "FinancingReceivablePortfolioSegmentDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansTroubledDebtRestructuringDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis":  {
                "auth_ref":  [
                    "r176",
                    "r183",
                    "r184",
                    "r228",
                    "r230",
                    "r232",
                    "r234",
                    "r235",
                    "r239",
                    "r240"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by class of financing receivable determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
                            "label":  "Class of Financing Receivable [Axis]"
                            }
                        }
                    },
                "localname":  "FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansTroubledDebtRestructuringDetails",
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financing receivables determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
                            "label":  "Financing Receivable Recorded Investment Class Of Financing Receivable [Domain]",
                            "terseLabel":  "Class of Financing Receivable [Domain]"
                            }
                        }
                    },
                "localname":  "FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansTroubledDebtRestructuringDetails",
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinancingReceivableRecordedInvestmentLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Financing Receivable, Recorded Investment [Line Items]",
                            "terseLabel":  "Breakdown of loans by risk category"
                            }
                        }
                    },
                "localname":  "FinancingReceivableRecordedInvestmentLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus":  {
                "auth_ref":  [
                    "r182",
                    "r229"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_FinancingReceivableRecordedInvestmentPastDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of financing receivable on nonaccrual status.",
                            "label":  "Financing Receivable, Recorded Investment, Nonaccrual Status",
                            "terseLabel":  "Nonaccrual"
                            }
                        }
                    },
                "localname":  "FinancingReceivableRecordedInvestmentNonaccrualStatus",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableRecordedInvestmentPastDue":  {
                "auth_ref":  [
                    "r184",
                    "r228",
                    "r240"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of financing receivable past due.",
                            "label":  "Financing Receivable, Recorded Investment, Past Due",
                            "totalLabel":  "Total"
                            }
                        }
                    },
                "localname":  "FinancingReceivableRecordedInvestmentPastDue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Financing Receivable, Recorded Investment, Past Due [Line Items]",
                            "terseLabel":  "Past due loans"
                            }
                        }
                    },
                "localname":  "FinancingReceivableRecordedInvestmentPastDueLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember":  {
                "auth_ref":  [
                    "r240"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financial asset equal to or greater than 90 days past due.",
                            "label":  "Financing Receivables Equal To Greater Than90 Days Past Due [Member]",
                            "terseLabel":  "90+ days Past Due"
                            }
                        }
                    },
                "localname":  "FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinancingReceivablesPeriodPastDueAxis":  {
                "auth_ref":  [
                    "r228",
                    "r240"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by time period financial asset is past due.",
                            "label":  "Financial Asset, Period Past Due [Axis]"
                            }
                        }
                    },
                "localname":  "FinancingReceivablesPeriodPastDueAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancingReceivablesPeriodPastDueDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period in which financial asset is past due.  Element name and standard label in Financial Asset, [numeric lower end] to [numeric higher end] [date measure] Past Due [Member] or Financial Asset, Greater Than [low end numeric value] [date measure] Past Due [Member] or Financial Asset, Less Than [high end numeric value] [date measure] Past Due [Member] formats.",
                            "label":  "Financing Receivables Period Past Due [Domain]",
                            "terseLabel":  "Financial Asset, Period Past Due [Domain]"
                            }
                        }
                    },
                "localname":  "FinancingReceivablesPeriodPastDueDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinancingReceivablesTextBlock":  {
                "auth_ref":  [
                    "r188",
                    "r190"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for financing receivable.",
                            "label":  "Financing Receivables [Text Block]",
                            "terseLabel":  "LOANS"
                            }
                        }
                    },
                "localname":  "FinancingReceivablesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoans"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetUsefulLife":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
                            "label":  "Finite-Lived Intangible Asset, Useful Life",
                            "verboseLabel":  "Core deposit estimated useful life"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetUsefulLife",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization":  {
                "auth_ref":  [
                    "r263"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
                            "label":  "Finite-Lived Intangible Assets, Accumulated Amortization",
                            "terseLabel":  "Future Amortization Expense"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAccumulatedAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths":  {
                "auth_ref":  [
                    "r265"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in next fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, Next Twelve Months",
                            "terseLabel":  "Amortization expense year one"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive":  {
                "auth_ref":  [
                    "r265"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fifth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, Year Five",
                            "terseLabel":  "Amortization expense year five"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour":  {
                "auth_ref":  [
                    "r265"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fourth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, Year Four",
                            "terseLabel":  "Amortization expense year four"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree":  {
                "auth_ref":  [
                    "r265"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in third fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, Year Three",
                            "terseLabel":  "Amortization expense year three"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo":  {
                "auth_ref":  [
                    "r265"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in second fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, Year Two",
                            "terseLabel":  "Amortization expense year two"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis":  {
                "auth_ref":  [
                    "r259",
                    "r260",
                    "r263",
                    "r266",
                    "r572",
                    "r573"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by major type or class of finite-lived intangible assets.",
                            "label":  "Finite-Lived Intangible Assets by Major Class [Axis]"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsByMajorClassAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain":  {
                "auth_ref":  [
                    "r259",
                    "r262"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The major class of finite-lived intangible asset (for example, patents, trademarks, copyrights, etc.) A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.",
                            "label":  "Finite Lived Intangible Assets Major Class Name [Domain]",
                            "terseLabel":  "Finite-Lived Intangible Assets, Major Class Name [Domain]"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsMajorClassNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsNet":  {
                "auth_ref":  [
                    "r263",
                    "r572"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  9.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
                            "label":  "Finite-Lived Intangible Assets, Net",
                            "terseLabel":  "Deposit based intangibles",
                            "verboseLabel":  "Deposit based intangible assets"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FixedIncomeSecuritiesMember":  {
                "auth_ref":  [
                    "r327",
                    "r373"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Investment that provides a return in the form of fixed periodic payments and eventual return of principal at maturity.",
                            "label":  "Fixed Income Securities [Member]",
                            "terseLabel":  "Fixed income securities"
                            }
                        }
                    },
                "localname":  "FixedIncomeSecuritiesMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_GainLossOnSalesOfLoansNet":  {
                "auth_ref":  [
                    "r81",
                    "r618",
                    "r669"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NoninterestIncome",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The net gain (loss) resulting from a sale of loans, including adjustments to record loans classified as held-for-sale at the lower-of-cost-or-market and fair value adjustments to loan held for investment purposes.",
                            "label":  "Gain (Loss) on Sales of Loans, Net",
                            "terseLabel":  "Income from mortgage loans sold on the secondary market"
                            }
                        }
                    },
                "localname":  "GainLossOnSalesOfLoansNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GainsLossesOnSalesOfOtherRealEstate":  {
                "auth_ref":  [
                    "r621"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The net gain (loss) resulting from sales and other disposals of other real estate owned, increases (decreases) in the valuation allowance for foreclosed real estate, and write-downs of other real estate owned after acquisition or physical possession.",
                            "label":  "Gains (Losses) on Sales of Other Real Estate",
                            "terseLabel":  "(Gain) loss on sale of other real estate held for sale"
                            }
                        }
                    },
                "localname":  "GainsLossesOnSalesOfOtherRealEstate",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureOtherRealEstateHeldForSaleDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_Goodwill":  {
                "auth_ref":  [
                    "r252",
                    "r254",
                    "r590"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill",
                            "terseLabel":  "Goodwill"
                            }
                        }
                    },
                "localname":  "Goodwill",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "GOODWILL AND OTHER INTANGIBLE ASSETS",
                            "terseLabel":  "Goodwill and Other Intangible Assets"
                            }
                        }
                    },
                "localname":  "GoodwillAndIntangibleAssetsDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock":  {
                "auth_ref":  [
                    "r267"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for goodwill and intangible assets.",
                            "label":  "Goodwill and Intangible Assets Disclosure [Text Block]",
                            "terseLabel":  "GOODWILL AND OTHER INTANGIBLE ASSETS"
                            }
                        }
                    },
                "localname":  "GoodwillAndIntangibleAssetsDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssets"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock":  {
                "auth_ref":  [
                    "r92",
                    "r256",
                    "r261"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for goodwill and intangible assets.  This accounting policy also may address how an entity assesses and measures impairment of goodwill and intangible assets.",
                            "label":  "Goodwill and Intangible Assets, Policy [Policy Text Block]",
                            "terseLabel":  "Goodwill and Other Intangible Assets"
                            }
                        }
                    },
                "localname":  "GoodwillAndIntangibleAssetsPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_GoodwillImpairmentLoss":  {
                "auth_ref":  [
                    "r81",
                    "r253",
                    "r255",
                    "r257"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill, Impairment Loss",
                            "terseLabel":  "Goodwill impairment"
                            }
                        }
                    },
                "localname":  "GoodwillImpairmentLoss",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment":  {
                "auth_ref":  [
                    "r170",
                    "r173"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Average amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses.",
                            "label":  "Impaired Financing Receivable, Average Recorded Investment",
                            "terseLabel":  "Average Balance for the Period"
                            }
                        }
                    },
                "localname":  "ImpairedFinancingReceivableAverageRecordedInvestment",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ImpairedFinancingReceivableAverageRecordedInvestmentAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Impaired Financing Receivable, Average Recorded Investment [Abstract]",
                            "terseLabel":  "Average investment"
                            }
                        }
                    },
                "localname":  "ImpairedFinancingReceivableAverageRecordedInvestmentAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod":  {
                "auth_ref":  [
                    "r171"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of interest income recognized on a cash-basis method of accounting that the financing receivables (with related allowance for credit losses and without a related allowance for credit losses) were impaired.",
                            "label":  "Impaired Financing Receivable, Interest Income, Cash Basis Method",
                            "terseLabel":  "Interest Income Recognized for the Period"
                            }
                        }
                    },
                "localname":  "ImpairedFinancingReceivableInterestIncomeCashBasisMethod",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethodAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Impaired Financing Receivable, Interest Income, Cash Basis Method [Abstract]",
                            "terseLabel":  "Interest Income Recognized During Impairment"
                            }
                        }
                    },
                "localname":  "ImpairedFinancingReceivableInterestIncomeCashBasisMethodAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ImpairedFinancingReceivableRecordedInvestment":  {
                "auth_ref":  [
                    "r168"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses.",
                            "label":  "Impaired Financing Receivable, Recorded Investment",
                            "terseLabel":  "Impaired loans",
                            "totalLabel":  "Total"
                            }
                        }
                    },
                "localname":  "ImpairedFinancingReceivableRecordedInvestment",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ImpairedFinancingReceivableRecordedInvestmentAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Impaired Financing Receivable, Recorded Investment [Abstract]",
                            "terseLabel":  "Recorded investment"
                            }
                        }
                    },
                "localname":  "ImpairedFinancingReceivableRecordedInvestmentAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance":  {
                "auth_ref":  [
                    "r169"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of unpaid principal balance of impaired financing receivables with related allowance for credit losses and without related allowance for credit losses.",
                            "label":  "Impaired Financing Receivable, Unpaid Principal Balance",
                            "terseLabel":  "Unpaid Principal Balance"
                            }
                        }
                    },
                "localname":  "ImpairedFinancingReceivableUnpaidPrincipalBalance",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment":  {
                "auth_ref":  [
                    "r168"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_ImpairedFinancingReceivableRecordedInvestment",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of investment in impaired financing receivables for which there is no related allowance for credit losses.",
                            "label":  "Impaired Financing Receivable, with No Related Allowance, Recorded Investment",
                            "terseLabel":  "With no valuation reserve"
                            }
                        }
                    },
                "localname":  "ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment":  {
                "auth_ref":  [
                    "r170",
                    "r173"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of average investment of impaired financing receivables for which there is a related allowance for credit losses.",
                            "label":  "Impaired Financing Receivable, with Related Allowance, Average Recorded Investment",
                            "terseLabel":  "Related Allowance for Loan Losses"
                            }
                        }
                    },
                "localname":  "ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment":  {
                "auth_ref":  [
                    "r168"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_ImpairedFinancingReceivableRecordedInvestment",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of investment in impaired financing receivables for which there is a related allowance for credit losses.",
                            "label":  "Impaired Financing Receivable, with Related Allowance, Recorded Investment",
                            "terseLabel":  "With a valuation reserve"
                            }
                        }
                    },
                "localname":  "ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ImpairedFinancingReceivablesTableTextBlock":  {
                "auth_ref":  [
                    "r172"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of impaired financing receivables.",
                            "label":  "Impaired Financing Receivables [Table Text Block]",
                            "terseLabel":  "Summary of impaired loans and their effect on interest income"
                            }
                        }
                    },
                "localname":  "ImpairedFinancingReceivablesTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments":  {
                "auth_ref":  [
                    "r97",
                    "r145",
                    "r147",
                    "r150",
                    "r153",
                    "r155"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of income (loss) from continuing operations before deduction of income tax expense (benefit) and income (loss) attributable to noncontrolling interest, and addition of income (loss) from equity method investments.",
                            "label":  "Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Extraordinary Items, Noncontrolling Interest",
                            "terseLabel":  "Loss before income taxes and equity in net income of subsidiaries",
                            "totalLabel":  "Income before provision for income taxes"
                            }
                        }
                    },
                "localname":  "IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeLossFromEquityMethodInvestments":  {
                "auth_ref":  [
                    "r54",
                    "r81",
                    "r143",
                    "r222",
                    "r609",
                    "r663"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of income (loss) for proportionate share of equity method investee's income (loss).",
                            "label":  "Income (Loss) from Equity Method Investments",
                            "negatedLabel":  "Equity in net (income) of subsidiaries",
                            "terseLabel":  "Equity in net income of subsidiaries"
                            }
                        }
                    },
                "localname":  "IncomeLossFromEquityMethodInvestments",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeStatementAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "CONSOLIDATED STATEMENTS OF OPERATIONS"
                            }
                        }
                    },
                "localname":  "IncomeStatementAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeTaxDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "INCOME TAXES"
                            }
                        }
                    },
                "localname":  "IncomeTaxDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeTaxDisclosureTextBlock":  {
                "auth_ref":  [
                    "r425",
                    "r426",
                    "r432",
                    "r441",
                    "r446",
                    "r448",
                    "r449",
                    "r450"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for income taxes.  Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
                            "label":  "Income Tax Disclosure [Text Block]",
                            "terseLabel":  "INCOME TAXES"
                            }
                        }
                    },
                "localname":  "IncomeTaxDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxes"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_IncomeTaxExpenseBenefit":  {
                "auth_ref":  [
                    "r95",
                    "r112",
                    "r113",
                    "r144",
                    "r423",
                    "r442",
                    "r447",
                    "r668"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetailsCalc2":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
                            "label":  "Income Tax Expense (Benefit)",
                            "terseLabel":  "Provision for income taxes",
                            "totalLabel":  "Provision for income taxes",
                            "verboseLabel":  "Provision for (benefit of) income taxes"
                            }
                        }
                    },
                "localname":  "IncomeTaxExpenseBenefit",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails",
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Effective Income Tax Rate Reconciliation, Amount [Abstract]",
                            "terseLabel":  "Source of differences between income taxes at the federal statutory rate and the provision (credit) for income taxes"
                            }
                        }
                    },
                "localname":  "IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeTaxPolicyTextBlock":  {
                "auth_ref":  [
                    "r51",
                    "r92",
                    "r419",
                    "r420",
                    "r426",
                    "r427",
                    "r431",
                    "r438",
                    "r691"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
                            "label":  "Income Tax, Policy [Policy Text Block]",
                            "terseLabel":  "Income Taxes"
                            }
                        }
                    },
                "localname":  "IncomeTaxPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate":  {
                "auth_ref":  [
                    "r418",
                    "r424"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetailsCalc2":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_IncomeTaxExpenseBenefit",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations, attributable to increase (decrease) in the income tax rates.",
                            "label":  "Effective Income Tax Rate Reconciliation, Change in Enacted Tax Rate, Amount",
                            "verboseLabel":  "Wisconsin income tax expense, net of federal impact"
                            }
                        }
                    },
                "localname":  "IncomeTaxReconciliationChangeInEnactedTaxRate",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate":  {
                "auth_ref":  [
                    "r424"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetailsCalc2":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_IncomeTaxExpenseBenefit",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of income tax expense or benefit for the period computed by applying the domestic federal statutory tax rates to pretax income from continuing operations.",
                            "label":  "Effective Income Tax Rate Reconciliation at Federal Statutory Income Tax Rate, Amount",
                            "terseLabel":  "Tax expense at statutory rate"
                            }
                        }
                    },
                "localname":  "IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeTaxReconciliationNondeductibleExpense":  {
                "auth_ref":  [
                    "r424"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetailsCalc2":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_IncomeTaxExpenseBenefit",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to nondeductible expenses.",
                            "label":  "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Amount",
                            "terseLabel":  "Nondeductible expenses"
                            }
                        }
                    },
                "localname":  "IncomeTaxReconciliationNondeductibleExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeTaxReconciliationTaxExemptIncome":  {
                "auth_ref":  [
                    "r424"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetailsCalc2":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_IncomeTaxExpenseBenefit",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to income (loss) exempt from income taxes.",
                            "label":  "Effective Income Tax Rate Reconciliation, Tax Exempt Income, Amount",
                            "negatedLabel":  "Tax-exempt interest"
                            }
                        }
                    },
                "localname":  "IncomeTaxReconciliationTaxExemptIncome",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeTaxesPaid":  {
                "auth_ref":  [
                    "r78",
                    "r87"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income.",
                            "label":  "Income Taxes Paid",
                            "terseLabel":  "Income taxes"
                            }
                        }
                    },
                "localname":  "IncomeTaxesPaid",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInDeposits":  {
                "auth_ref":  [
                    "r84",
                    "r628"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The net cash inflow or outflow for the increase (decrease) in the beginning and end of period deposits balances.",
                            "label":  "Increase (Decrease) in Deposits",
                            "verboseLabel":  "Net increase (decrease) increase in deposits"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInDeposits",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInFederalFundsPurchased":  {
                "auth_ref":  [
                    "r84",
                    "r85"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The net cash inflow or outflow from the fund borrowed from other financial institution arising from the insufficient reserve deposited at Federal Reserve Bank to meet legal requirement.  This borrowing is usually contracted on an overnight basis at an agreed rate of interest.",
                            "label":  "Increase (Decrease) in Federal Funds Purchased",
                            "negatedTerseLabel":  "(Decrease) increase in fed funds purchased"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInFederalFundsPurchased",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInOtherOperatingAssets":  {
                "auth_ref":  [
                    "r80"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  12.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in operating assets classified as other.",
                            "label":  "Increase (Decrease) in Other Operating Assets",
                            "negatedLabel":  "Change in other assets"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInOtherOperatingAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInOtherOperatingLiabilities":  {
                "auth_ref":  [
                    "r80"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  13.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in operating liabilities classified as other.",
                            "label":  "Increase (Decrease) in Other Operating Liabilities",
                            "terseLabel":  "Change in other liabilities"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInOtherOperatingLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Increase (Decrease) in Stockholders' Equity [Roll Forward]",
                            "terseLabel":  "Increase (Decrease) in Shareholders' Equity"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInStockholdersEquityRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_InformationTechnologyAndDataProcessing":  {
                "auth_ref":  [
                    "r60"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NoninterestExpense",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of expenses incurred in the period for information technology and data processing products and services.",
                            "label":  "Information Technology and Data Processing",
                            "terseLabel":  "Data processing"
                            }
                        }
                    },
                "localname":  "InformationTechnologyAndDataProcessing",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestAndDividendIncomeOperating":  {
                "auth_ref":  [
                    "r614"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Revenues",
                        "weight":  1.0
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_InterestIncomeExpenseNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the total of interest and dividend income, including any amortization and accretion (as applicable) of discounts and premiums, earned from (1) loans and leases whether held-for-sale or held-in-portfolio; (2) investment securities; (3) federal funds sold; (4) securities purchased under agreements to resell; (5) investments in banker's acceptances, commercial paper, or certificates of deposit; (6) dividend income; or (7) other investments not otherwise specified herein.",
                            "label":  "Interest and Dividend Income, Operating",
                            "terseLabel":  "Interest income",
                            "totalLabel":  "Total interest income"
                            }
                        }
                    },
                "localname":  "InterestAndDividendIncomeOperating",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestAndDividendIncomeOperatingAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Interest and Dividend Income, Operating [Abstract]",
                            "terseLabel":  "INTEREST INCOME:"
                            }
                        }
                    },
                "localname":  "InterestAndDividendIncomeOperatingAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Interest and Dividend Income, Securities, by Taxable Status [Abstract]",
                            "terseLabel":  "Interest on securities:"
                            }
                        }
                    },
                "localname":  "InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_InterestAndFeeIncomeLoansAndLeases":  {
                "auth_ref":  [
                    "r613"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate interest and fee income generated by: (1) loans the Entity has positive intent and ability to hold for the foreseeable future, or until maturity or payoff, including commercial and consumer loans, whether domestic or foreign, which may consist of: (a) industrial and agricultural; (b) real estate; and (c) real estate construction loans; (d) trade financing; (e) lease financing; (f) home equity lines-of-credit; (g) automobile and other vehicle loans; and (h) credit card and other revolving-type loans and (2) loans and leases held-for-sale which may include mortgage loans, direct financing, and sales-type leases.",
                            "label":  "Interest and Fee Income, Loans and Leases",
                            "terseLabel":  "Fees recognized"
                            }
                        }
                    },
                "localname":  "InterestAndFeeIncomeLoansAndLeases",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestAndFeeIncomeLoansAndLeasesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Interest and Fee Income, Loans and Leases [Abstract]",
                            "terseLabel":  "Interest and fees on loans:",
                            "verboseLabel":  "Interest Income and Fees on Loans"
                            }
                        }
                    },
                "localname":  "InterestAndFeeIncomeLoansAndLeasesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_InterestBearingDepositsInBanks":  {
                "auth_ref":  [
                    "r587",
                    "r604"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AssetsFairValueDisclosure",
                        "weight":  1.0
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "For banks and other depository institutions (including Federal Reserve Banks, if applicable):  Interest-bearing deposits in other financial institutions for relatively short periods of time including, for example, certificates of deposits, which are presented separately from cash on the balance sheet.",
                            "label":  "Interest-bearing Deposits in Banks and Other Financial Institutions",
                            "terseLabel":  "Interest-bearing deposits in other financial institutions",
                            "verboseLabel":  "Interest-bearing deposits"
                            }
                        }
                    },
                "localname":  "InterestBearingDepositsInBanks",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestExpense":  {
                "auth_ref":  [
                    "r52",
                    "r142",
                    "r498",
                    "r501",
                    "r627"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_InterestIncomeExpenseNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of the cost of borrowed funds accounted for as interest expense.",
                            "label":  "Interest Expense",
                            "totalLabel":  "Total interest expense"
                            }
                        }
                    },
                "localname":  "InterestExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestExpenseAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Interest Expense [Abstract]",
                            "terseLabel":  "INTEREST EXPENSE:"
                            }
                        }
                    },
                "localname":  "InterestExpenseAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_InterestExpenseBorrowings":  {
                "auth_ref":  [
                    "r626"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_InterestExpense",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate amount of interest expense on all borrowings.",
                            "label":  "Interest Expense, Borrowings",
                            "terseLabel":  "Borrowings",
                            "verboseLabel":  "Interest expense on borrowings"
                            }
                        }
                    },
                "localname":  "InterestExpenseBorrowings",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestExpenseDeposits":  {
                "auth_ref":  [
                    "r625"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_InterestExpense",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate amount of interest expense on all deposits.",
                            "label":  "Interest Expense, Deposits",
                            "terseLabel":  "Deposits"
                            }
                        }
                    },
                "localname":  "InterestExpenseDeposits",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss":  {
                "auth_ref":  [
                    "r617"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of interest income or expense, including any amortization and accretion (as applicable) of discounts and premiums, including consideration of the provisions for loan, lease, credit, and other related losses.",
                            "label":  "Interest Income (Expense), after Provision for Loan Loss",
                            "totalLabel":  "Net interest income after provision for loan losses"
                            }
                        }
                    },
                "localname":  "InterestIncomeExpenseAfterProvisionForLoanLoss",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestIncomeExpenseNet":  {
                "auth_ref":  [
                    "r615"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The net amount of operating interest income (expense).",
                            "label":  "Interest Income (Expense), Net",
                            "totalLabel":  "Net interest income"
                            }
                        }
                    },
                "localname":  "InterestIncomeExpenseNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestIncomeSecuritiesTaxExempt":  {
                "auth_ref":  [
                    "r623"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_InterestAndDividendIncomeOperating",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of operating interest income, including amortization and accretion of premiums and discounts, on securities exempt from state, federal and other income tax.",
                            "label":  "Interest Income, Securities, Operating, Tax Exempt",
                            "terseLabel":  "Tax-exempt"
                            }
                        }
                    },
                "localname":  "InterestIncomeSecuritiesTaxExempt",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestIncomeSecuritiesTaxable":  {
                "auth_ref":  [
                    "r623"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_InterestAndDividendIncomeOperating",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of operating interest income, including amortization and accretion of premiums and discounts, on securities subject to state, federal and other income tax.",
                            "label":  "Interest Income, Securities, Operating, Taxable",
                            "terseLabel":  "Taxable"
                            }
                        }
                    },
                "localname":  "InterestIncomeSecuritiesTaxable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestPaidNet":  {
                "auth_ref":  [
                    "r73",
                    "r77",
                    "r87"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity.  Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
                            "label":  "Interest Paid, Net",
                            "terseLabel":  "Interest"
                            }
                        }
                    },
                "localname":  "InterestPaidNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InternalCreditAssessmentAxis":  {
                "auth_ref":  [
                    "r175",
                    "r232",
                    "r238",
                    "r239",
                    "r280",
                    "r469"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by entity-defined rating.",
                            "label":  "Internal Credit Assessment [Axis]"
                            }
                        }
                    },
                "localname":  "InternalCreditAssessmentAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_InternalCreditAssessmentDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Entity defined credit risk rating.",
                            "label":  "Internal Credit Assessment [Domain]",
                            "terseLabel":  "Internal Credit Assessment [Domain]"
                            }
                        }
                    },
                "localname":  "InternalCreditAssessmentDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_InvestmentInFederalHomeLoanBankStockFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_AssetsFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of investments in Federal Home Loan Bank (FHLBank) stock.",
                            "label":  "Investment in Federal Home Loan Bank Stock, Fair Value Disclosure",
                            "terseLabel":  "Federal Home Loan Bank stock"
                            }
                        }
                    },
                "localname":  "InvestmentInFederalHomeLoanBankStockFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InvestmentInFederalHomeLoanBankStockMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This item represents the amount shown on an entity's books for investments in Federal Home Loan Bank stock.",
                            "label":  "Investment In Federal Home Loan Bank Stock [Member]",
                            "terseLabel":  "FHLB stock"
                            }
                        }
                    },
                "localname":  "InvestmentInFederalHomeLoanBankStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_InvestmentPolicyTextBlock":  {
                "auth_ref":  [
                    "r223",
                    "r667"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for investment in financial asset.",
                            "label":  "Cost Method Investments, Policy [Policy Text Block]",
                            "terseLabel":  "Federal Home Loan Bank Stock"
                            }
                        }
                    },
                "localname":  "InvestmentPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments.",
                            "label":  "Investments Classified by Contractual Maturity Date [Table Text Block]",
                            "terseLabel":  "Schedule of amortized cost and estimated fair value sore investment securities by contractual maturity"
                            }
                        }
                    },
                "localname":  "InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "SECURITIES AVAILABLE FOR SALE"
                            }
                        }
                    },
                "localname":  "InvestmentsDebtAndEquitySecuritiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_InvestmentsFairValueDisclosure":  {
                "auth_ref":  [
                    "r470"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method.",
                            "label":  "Investments, Fair Value Disclosure",
                            "terseLabel":  "Investments"
                            }
                        }
                    },
                "localname":  "InvestmentsFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures":  {
                "auth_ref":  [
                    "r23"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of investment in equity method investee and investment in and advance to affiliate.",
                            "label":  "Investments in and Advance to Affiliates, Subsidiaries, Associates, and Joint Ventures",
                            "terseLabel":  "Investment in subsidiaries"
                            }
                        }
                    },
                "localname":  "InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock":  {
                "auth_ref":  [
                    "r221",
                    "r586",
                    "r637",
                    "r688"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for investments in certain debt and equity securities.",
                            "label":  "Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]",
                            "verboseLabel":  "SECURITIES AVAILABLE FOR SALE"
                            }
                        }
                    },
                "localname":  "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSale"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LaborAndRelatedExpense":  {
                "auth_ref":  [
                    "r58"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NoninterestExpense",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit.",
                            "label":  "Labor and Related Expense",
                            "terseLabel":  "Salaries and employee benefits",
                            "verboseLabel":  "Salaries and benefits"
                            }
                        }
                    },
                "localname":  "LaborAndRelatedExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LandMember":  {
                "auth_ref":  [
                    "r294"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Part of earth's surface not covered by water.",
                            "label":  "Land [Member]",
                            "terseLabel":  "Land"
                            }
                        }
                    },
                "localname":  "LandMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LeasesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "LEASES"
                            }
                        }
                    },
                "localname":  "LeasesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock":  {
                "auth_ref":  [
                    "r509"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of undiscounted cash flows of lessee's operating lease liability.  Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position.",
                            "label":  "Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block]",
                            "terseLabel":  "Schedule of future minimum payments for base rent, by year and in the aggregate, under the initial terms of the operating lease agreements"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue":  {
                "auth_ref":  [
                    "r509"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureFinanceLeasesDetailsCalc2":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for operating lease.",
                            "label":  "Operating Leases, Future Minimum Payments Due",
                            "totalLabel":  "Subtotal"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive":  {
                "auth_ref":  [
                    "r509"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for operating lease due after fifth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Operating Leases, Future Minimum Payments, Due Thereafter",
                            "terseLabel":  "Thereafter"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths":  {
                "auth_ref":  [
                    "r509"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in next fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Operating Leases, Future Minimum Payments Due, Next Twelve Months",
                            "terseLabel":  "2021"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive":  {
                "auth_ref":  [
                    "r509"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fifth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Operating Leases, Future Minimum Payments, Due in Five Years",
                            "terseLabel":  "2025"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour":  {
                "auth_ref":  [
                    "r509"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fourth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Operating Leases, Future Minimum Payments, Due in Four Years",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree":  {
                "auth_ref":  [
                    "r509"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in third fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Operating Leases, Future Minimum Payments, Due in Three Years",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo":  {
                "auth_ref":  [
                    "r509"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in second fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Operating Leases, Future Minimum Payments, Due in Two Years",
                            "terseLabel":  "2022"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount":  {
                "auth_ref":  [
                    "r509"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureFinanceLeasesDetailsCalc2":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease.",
                            "label":  "Lessee, Operating Lease, Liability, Undiscounted Excess Amount",
                            "negatedLabel":  "Less: imputed interest"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeasesTextBlock":  {
                "auth_ref":  [
                    "r511"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for operating leases of lessee.  Includes, but is not limited to, description of operating lease and maturity analysis of operating lease liability.",
                            "label":  "Leases of Lessee Disclosure [Text Block]",
                            "terseLabel":  "LEASES"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeasesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeases"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_Liabilities":  {
                "auth_ref":  [
                    "r29",
                    "r94",
                    "r149",
                    "r224",
                    "r459",
                    "r465",
                    "r466",
                    "r490"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LiabilitiesAndStockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized.  Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
                            "label":  "Liabilities",
                            "totalLabel":  "Total liabilities"
                            }
                        }
                    },
                "localname":  "Liabilities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Liabilities [Abstract]",
                            "terseLabel":  "LIABILITIES:"
                            }
                        }
                    },
                "localname":  "LiabilitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LiabilitiesAndStockholdersEquity":  {
                "auth_ref":  [
                    "r21",
                    "r94",
                    "r224",
                    "r490",
                    "r595",
                    "r660"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
                            "label":  "Liabilities and Equity",
                            "totalLabel":  "TOTAL LIABILITIES AND SHAREHOLDERS' EQUITY"
                            }
                        }
                    },
                "localname":  "LiabilitiesAndStockholdersEquity",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesAndStockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Liabilities and Equity [Abstract]",
                            "terseLabel":  "LIABILITIES AND SHAREHOLDERS' EQUITY"
                            }
                        }
                    },
                "localname":  "LiabilitiesAndStockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LiabilitiesFairValueDisclosure":  {
                "auth_ref":  [
                    "r470"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value of financial and nonfinancial obligations.",
                            "label":  "Financial and Nonfinancial Liabilities, Fair Value Disclosure",
                            "terseLabel":  "Liabilities",
                            "totalLabel":  "Total financial liabilities"
                            }
                        }
                    },
                "localname":  "LiabilitiesFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueOtherAssetsAndOtherLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCredit":  {
                "auth_ref":  [
                    "r11",
                    "r594",
                    "r653"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount.  Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.  Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.",
                            "label":  "Long-term Line of Credit",
                            "terseLabel":  "Line of Credit"
                            }
                        }
                    },
                "localname":  "LineOfCredit",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity":  {
                "auth_ref":  [
                    "r28"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.",
                            "label":  "Line of Credit Facility, Maximum Borrowing Capacity",
                            "terseLabel":  "Maximum borrowing capacity"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityMaximumBorrowingCapacity",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A contractual arrangement with a lender under which borrowings can be made up to a specific amount at any point in time, and under which borrowings outstanding may be either short-term or long-term, depending upon the particulars.",
                            "label":  "Line Of Credit [Member]",
                            "terseLabel":  "Correspondent bank line of credit"
                            }
                        }
                    },
                "localname":  "LineOfCreditMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LoansAndLeasesReceivableAllowance":  {
                "auth_ref":  [
                    "r161",
                    "r165",
                    "r187",
                    "r195"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of allowance to cover probable credit losses on loans and leases.  Includes carryover of or adjustments to the allowance for loan losses in connection with business combinations.  Excludes allowance for loans and leases covered under loss sharing agreements.",
                            "label":  "Loans and Leases Receivable, Allowance",
                            "negatedLabel":  "Allowance for loan losses",
                            "negatedTerseLabel":  "Ending balance ALLR",
                            "periodEndLabel":  "Balance at end of period",
                            "periodStartLabel":  "Balance at beginning of period",
                            "totalLabel":  "Total"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableAllowance",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LoansAndLeasesReceivableAllowanceForLoanLossesPolicy":  {
                "auth_ref":  [
                    "r92",
                    "r185"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for estimating the allowance for losses on loans and lease receivables.  The disclosure may include (a) how the entity determines each element of the allowance, (b) which loans are evaluated individually and which loans are evaluated as a group, (c) how the entity determines both the allocated and unallocated portions of the allowance, (d) how the entity determines the loss factors applied to graded loans in order to develop a general allowance, and (e) what self-correcting mechanism the entity uses to reduce differences between estimated and actual losses.",
                            "label":  "Loans and Leases Receivable, Allowance for Loan Losses Policy [Policy Text Block]",
                            "terseLabel":  "Allowance for Loan Losses"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableAllowanceForLoanLossesPolicy",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LoansAndLeasesReceivableDeferredIncome":  {
                "auth_ref":  [
                    "r180",
                    "r189",
                    "r504",
                    "r608"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of deferred interest and fee income, unamortized costs incurred to originate loans and leases, unamortized loan commitments and loan syndication fees, and premiums over or discounts from face amounts of acquired loans.  Excludes amounts for loans and leases covered under loss sharing agreements.",
                            "label":  "Loans and Leases Receivable, Deferred Income",
                            "terseLabel":  "SBA totaling"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableDeferredIncome",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount":  {
                "auth_ref":  [
                    "r159"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before allowance of loans and leases held in portfolio, including but not limited to, commercial and consumer loans.  Includes deferred interest and fees, undisbursed portion of loan balance, unamortized costs and premiums and discounts from face amounts.  Excludes loans and leases covered under loss sharing agreements.",
                            "label":  "Loans and Leases Receivable, Gross",
                            "terseLabel":  "Total loans",
                            "totalLabel":  "Total Loans",
                            "verboseLabel":  "Ending balance"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableGrossCarryingAmount",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LoansAndLeasesReceivableGrossCarryingAmountAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Loans and Leases Receivable, Gross, Carrying Amount [Abstract]",
                            "terseLabel":  "Ending balance Loans:"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableGrossCarryingAmountAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LoansAndLeasesReceivableNetReportedAmount":  {
                "auth_ref":  [
                    "r159",
                    "r608"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after allowance and deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans.  Excludes loans and leases covered under loss sharing agreements and loans held for sale.",
                            "label":  "Loans and Leases Receivable, Net Amount",
                            "terseLabel":  "Loan portfolio",
                            "totalLabel":  "Net loans",
                            "verboseLabel":  "PPP loans total"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableNetReportedAmount",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskCreditRiskDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Loans and Leases Receivable, Net Amount [Abstract]",
                            "terseLabel":  "Loans:"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableNetReportedAmountAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LoansAndLeasesReceivableOriginationFeesDiscountsOrPremiumsAndDirectCostsToAcquireLoansPolicy":  {
                "auth_ref":  [
                    "r174"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for method for recognizing interest income and amortizing deferred fee or cost of financing receivable.  Includes, but is not limited to, treatment of fee, cost, premium and discount.",
                            "label":  "Loans and Leases Receivable, Origination Fees, Discounts or Premiums, and Direct Costs to Acquire Loans Policy [Policy Text Block]",
                            "terseLabel":  "Acquired Loans"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableOriginationFeesDiscountsOrPremiumsAndDirectCostsToAcquireLoansPolicy",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LoansAndLeasesReceivableRelatedParties":  {
                "auth_ref":  [
                    "r513",
                    "r607"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "For an unclassified balance sheet, reflects the carrying amount of unpaid loan amounts due from related parties at the balance sheet date.",
                            "label":  "Loans and Leases Receivable, Related Parties",
                            "periodEndLabel":  "Loans outstanding, end of period",
                            "periodStartLabel":  "Loans outstanding, beginning of period",
                            "terseLabel":  "Loans outstanding"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableRelatedParties",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LoansAndLeasesReceivableRelatedPartiesAdditions":  {
                "auth_ref":  [
                    "r513",
                    "r607"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Reflects the amount of new advances made to related parties in the form of loan and lease receivables.",
                            "label":  "Loans and Leases Receivable, Related Parties, Additions",
                            "terseLabel":  "New loans"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableRelatedPartiesAdditions",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LoansAndLeasesReceivableRelatedPartiesProceeds":  {
                "auth_ref":  [
                    "r62",
                    "r597"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow from related parties which reduce the amount of loans and leases receivable due from related parties.",
                            "label":  "Loans and Leases Receivable, Related Parties, Collections",
                            "negatedLabel":  "Repayment"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableRelatedPartiesProceeds",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LoansAndLeasesReceivableRelatedPartiesRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Loans and Leases Receivable, Related Parties [Roll Forward]",
                            "terseLabel":  "Activity in insider loans granted to the entity's executive officers and directors, including their families and firms"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableRelatedPartiesRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LoansAndLeasesReceivableTroubledDebtRestructuringPolicy":  {
                "auth_ref":  [
                    "r198"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for troubled debt restructuring.",
                            "label":  "Loans and Leases Receivable, Troubled Debt Restructuring Policy [Policy Text Block]",
                            "terseLabel":  "Troubled Debt Restructuring"
                            }
                        }
                    },
                "localname":  "LoansAndLeasesReceivableTroubledDebtRestructuringPolicy",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LoansPledgedAsCollateral":  {
                "auth_ref":  [
                    "r181",
                    "r536"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying amount as of the balance sheet date of loans that have been pledged as collateral for borrowings.  If the secured party has the right by contract or custom to sell or re-pledge the collateral, then the debtor reclassifies that asset and report that asset in its statement of financial position separately from other assets not so encumbered.",
                            "label":  "Loans Pledged as Collateral",
                            "terseLabel":  "Loans pledged as collateral"
                            }
                        }
                    },
                "localname":  "LoansPledgedAsCollateral",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LoansReceivableFairValueDisclosure":  {
                "auth_ref":  [
                    "r188"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_AssetsFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of loan receivable, including, but not limited to, mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts.",
                            "label":  "Loans Receivable, Fair Value Disclosure",
                            "terseLabel":  "Net loans"
                            }
                        }
                    },
                "localname":  "LoansReceivableFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LondonInterbankOfferedRateLIBORMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Interest rate at which a bank borrows funds from other banks in the London interbank market.",
                            "label":  "London Interbank Offered Rate L I B O R [Member]",
                            "terseLabel":  "LIBOR"
                            }
                        }
                    },
                "localname":  "LondonInterbankOfferedRateLIBORMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LongTermDebtByMaturityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Long-term Debt, Fiscal Year Maturity [Abstract]",
                            "terseLabel":  "Maturities and principal payments of borrowings outstanding"
                            }
                        }
                    },
                "localname":  "LongTermDebtByMaturityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsMaturitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive":  {
                "auth_ref":  [
                    "r99",
                    "r282"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureBorrowingsMaturitiesDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_DebtAndCapitalLeaseObligations",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing after fifth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal after Year Five",
                            "terseLabel":  "Thereafter"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsMaturitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths":  {
                "auth_ref":  [
                    "r99",
                    "r282"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureBorrowingsMaturitiesDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_DebtAndCapitalLeaseObligations",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in next fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal in Next Twelve Months",
                            "terseLabel":  "2021"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsMaturitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour":  {
                "auth_ref":  [
                    "r99",
                    "r282"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureBorrowingsMaturitiesDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_DebtAndCapitalLeaseObligations",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fourth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal in Year Four",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsMaturitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree":  {
                "auth_ref":  [
                    "r99",
                    "r282"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureBorrowingsMaturitiesDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_DebtAndCapitalLeaseObligations",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in third fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal in Year Three",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsMaturitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo":  {
                "auth_ref":  [
                    "r99",
                    "r282"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureBorrowingsMaturitiesDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_DebtAndCapitalLeaseObligations",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal in Year Two",
                            "terseLabel":  "2022"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsMaturitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongtermDebtTypeAxis":  {
                "auth_ref":  [
                    "r31"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of long-term debt.",
                            "label":  "Long-term Debt, Type [Axis]"
                            }
                        }
                    },
                "localname":  "LongtermDebtTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LongtermDebtTypeDomain":  {
                "auth_ref":  [
                    "r31",
                    "r283"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.  These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
                            "label":  "Longterm Debt Type [Domain]",
                            "terseLabel":  "Long-term Debt, Type [Domain]"
                            }
                        }
                    },
                "localname":  "LongtermDebtTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LossContingencyPendingClaimsNumber":  {
                "auth_ref":  [
                    "r277"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of pending claims pertaining to a loss contingency.",
                            "label":  "Loss Contingency, Pending Claims, Number",
                            "terseLabel":  "Number of pending material legal proceedings"
                            }
                        }
                    },
                "localname":  "LossContingencyPendingClaimsNumber",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_MarketableSecurities":  {
                "auth_ref":  [
                    "r606"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_AssetsFairValueDisclosure",
                        "weight":  1.0
                        },
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of investment in marketable security.",
                            "label":  "Marketable Securities",
                            "terseLabel":  "Estimated Fair Value",
                            "totalLabel":  "Estimated Fair Value"
                            }
                        }
                    },
                "localname":  "MarketableSecurities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_MarketableSecuritiesPolicy":  {
                "auth_ref":  [
                    "r636"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for investment classified as marketable security.",
                            "label":  "Marketable Securities, Policy [Policy Text Block]",
                            "terseLabel":  "Securities"
                            }
                        }
                    },
                "localname":  "MarketableSecuritiesPolicy",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember":  {
                "auth_ref":  [
                    "r327"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Debt securities collateralized by real estate mortgage loans (mortgages), issued by US Government Sponsored Enterprises, such as Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac).",
                            "label":  "Mortgage Backed Securities Issued By U S Government Sponsored Enterprises [Member]",
                            "terseLabel":  "US Agencies - MBS"
                            }
                        }
                    },
                "localname":  "MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueLevel3ActivitiesDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MortgageLoansInProcessOfForeclosureAmount":  {
                "auth_ref":  [
                    "r179"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Recorded investment of consumer mortgage loan receivables secured by residential real estate properties for which formal foreclosure proceedings are in process.",
                            "label":  "Mortgage Loans in Process of Foreclosure, Amount",
                            "terseLabel":  "Mortgage loans secured by residential real estate property in process of foreclosure"
                            }
                        }
                    },
                "localname":  "MortgageLoansInProcessOfForeclosureAmount",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureOtherRealEstateHeldForSaleDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_MortgageReceivablesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amounts due the Company for loans secured by the collateral of specified real estate property and which loan the borrower (debtor) is obligated to repay in accordance with a predetermined set of payments.",
                            "label":  "Mortgage Receivables [Member]",
                            "terseLabel":  "Mortgage loans"
                            }
                        }
                    },
                "localname":  "MortgageReceivablesMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_NetCashProvidedByUsedInFinancingActivities":  {
                "auth_ref":  [
                    "r76"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from financing activities, including discontinued operations.  Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
                            "label":  "Net Cash Provided by (Used in) Financing Activities",
                            "totalLabel":  "Net cash provided by (used in) financing activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInFinancingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Cash Provided by (Used in) Financing Activities, Continuing Operations [Abstract]",
                            "terseLabel":  "Cash Flows from Financing Activities:"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInFinancingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetCashProvidedByUsedInInvestingActivities":  {
                "auth_ref":  [
                    "r76"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from investing activities, including discontinued operations.  Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
                            "label":  "Net Cash Provided by (Used in) Investing Activities",
                            "totalLabel":  "Net cash used in investing activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInInvestingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Cash Provided by (Used in) Investing Activities, Continuing Operations [Abstract]",
                            "terseLabel":  "Cash Flows from Investing Activities:"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInInvestingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetCashProvidedByUsedInOperatingActivities":  {
                "auth_ref":  [
                    "r76",
                    "r79",
                    "r82"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from operating activities, including discontinued operations.  Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
                            "label":  "Net Cash Provided by (Used in) Operating Activities",
                            "totalLabel":  "Net cash provided by operating activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInOperatingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Cash Provided by (Used in) Operating Activities, Continuing Operations [Abstract]",
                            "terseLabel":  "Cash Flows from Operating Activities:"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInOperatingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetIncomeLoss":  {
                "auth_ref":  [
                    "r2",
                    "r45",
                    "r48",
                    "r55",
                    "r82",
                    "r94",
                    "r104",
                    "r106",
                    "r107",
                    "r108",
                    "r109",
                    "r112",
                    "r113",
                    "r118",
                    "r145",
                    "r147",
                    "r150",
                    "r153",
                    "r155",
                    "r224",
                    "r490",
                    "r610",
                    "r664"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  1.0
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
                            "label":  "Net Income (Loss) Attributable to Parent",
                            "verboseLabel":  "Net income"
                            }
                        }
                    },
                "localname":  "NetIncomeLoss",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetIncomeLossAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Income (Loss) Attributable to Parent [Abstract]",
                            "terseLabel":  "Computation of basic and diluted earnings per share"
                            }
                        }
                    },
                "localname":  "NetIncomeLossAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic":  {
                "auth_ref":  [
                    "r106",
                    "r107",
                    "r108",
                    "r109",
                    "r114",
                    "r115",
                    "r119",
                    "r122",
                    "r145",
                    "r147",
                    "r150",
                    "r153",
                    "r155"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders.",
                            "label":  "Net Income (Loss) Available to Common Stockholders, Basic",
                            "terseLabel":  "Net income",
                            "totalLabel":  "NET INCOME"
                            }
                        }
                    },
                "localname":  "NetIncomeLossAvailableToCommonStockholdersBasic",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails",
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "RECENT ACCOUNTING PRONOUNCEMENTS",
                            "verboseLabel":  "Recent Developments"
                            }
                        }
                    },
                "localname":  "NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting.  Includes, but is not limited to, quantification of the expected or actual impact.",
                            "label":  "New Accounting Pronouncements, Policy [Policy Text Block]",
                            "terseLabel":  "Recent Developments"
                            }
                        }
                    },
                "localname":  "NewAccountingPronouncementsPolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_NoninterestBearingDepositLiabilities":  {
                "auth_ref":  [
                    "r599"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Deposits",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate amount of all domestic and foreign noninterest-bearing deposits liabilities held by the entity.",
                            "label":  "Noninterest-bearing Deposit Liabilities",
                            "terseLabel":  "Noninterest bearing deposits",
                            "verboseLabel":  "Noninterest bearing deposits"
                            }
                        }
                    },
                "localname":  "NoninterestBearingDepositLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NoninterestExpense":  {
                "auth_ref":  [
                    "r622"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total aggregate amount of all noninterest expense.",
                            "label":  "Noninterest Expense",
                            "totalLabel":  "Total other expenses"
                            }
                        }
                    },
                "localname":  "NoninterestExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NoninterestExpenseAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Noninterest Expense [Abstract]",
                            "terseLabel":  "OTHER EXPENSE:",
                            "verboseLabel":  "EXPENSES:"
                            }
                        }
                    },
                "localname":  "NoninterestExpenseAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NoninterestIncome":  {
                "auth_ref":  [
                    "r619"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The total amount of noninterest income which may be derived from: (1) fees and commissions; (2) premiums earned; (3) insurance policy charges; (4) the sale or disposal of assets; and (5) other sources not otherwise specified.",
                            "label":  "Noninterest Income",
                            "totalLabel":  "Total other income"
                            }
                        }
                    },
                "localname":  "NoninterestIncome",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NoninterestIncomeAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Noninterest Income [Abstract]",
                            "terseLabel":  "OTHER INCOME:"
                            }
                        }
                    },
                "localname":  "NoninterestIncomeAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NoninterestIncomeOther":  {
                "auth_ref":  [
                    "r619"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NoninterestIncome",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the total of noninterest income derived from certain activities and assets including (for example): (1) venture capital investments; (2) bank owned life insurance; (3) foreign currency transactions; and (4) mortgage servicing rights.",
                            "label":  "Noninterest Income, Other",
                            "terseLabel":  "Other"
                            }
                        }
                    },
                "localname":  "NoninterestIncomeOther",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NumberOfReportableSegments":  {
                "auth_ref":  [
                    "r139"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of segments reported by the entity.  A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
                            "label":  "Number of Reportable Segments",
                            "terseLabel":  "Number of reportable operating segments"
                            }
                        }
                    },
                "localname":  "NumberOfReportableSegments",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_OccupancyNet":  {
                "auth_ref":  [
                    "r60",
                    "r503",
                    "r620"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NoninterestExpense",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of net occupancy expense that may include items, such as depreciation of facilities and equipment, lease expenses, property taxes and property and casualty insurance expense.",
                            "label":  "Occupancy, Net",
                            "terseLabel":  "Occupancy"
                            }
                        }
                    },
                "localname":  "OccupancyNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OffBalanceSheetCreditExposurePolicyPolicyTextBlock":  {
                "auth_ref":  [
                    "r185",
                    "r231"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Description of accounting policies and methodologies used to estimate the entity's liability for off-balance sheet credit exposures and related charges for those credit exposures.",
                            "label":  "Off-Balance-Sheet Credit Exposure, Policy [Policy Text Block]",
                            "terseLabel":  "Off-Balance-Sheet Financial Instruments"
                            }
                        }
                    },
                "localname":  "OffBalanceSheetCreditExposurePolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Operating Leases, Future Minimum Payments Due, Fiscal Year Maturity [Abstract]",
                            "terseLabel":  "Future minimum payments, by year and in the aggregate, under the initial terms of the operating lease agreements"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiabilitiesPaymentsDueAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OperatingLeaseLiability":  {
                "auth_ref":  [
                    "r505"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureFinanceLeasesDetailsCalc2":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Present value of lessee's discounted obligation for lease payments from operating lease.",
                            "label":  "Operating Lease, Liability",
                            "terseLabel":  "Lease liabilities",
                            "totalLabel":  "Net lease liabilities"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiability",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails",
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList":  {
                "auth_ref":  [
                    "r506"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicates line item in statement of financial position that includes operating lease liability.",
                            "label":  "Operating Lease, Liability, Statement of Financial Position [Extensible List]"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "extensibleListItemType"
                },
            "us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense":  {
                "auth_ref":  [
                    "r81"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense for right-of-use asset from operating lease.",
                            "label":  "Operating Lease, Right-of-Use Asset, Amortization Expense",
                            "terseLabel":  "Amortization of the right-of-use asset"
                            }
                        }
                    },
                "localname":  "OperatingLeaseRightOfUseAssetAmortizationExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeasesLeaseIncomeAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Operating Leases, Rent Expense, Net [Abstract]",
                            "terseLabel":  "Rent Expenses"
                            }
                        }
                    },
                "localname":  "OperatingLeasesLeaseIncomeAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OperatingLossCarryforwards":  {
                "auth_ref":  [
                    "r433"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws.",
                            "label":  "Operating Loss Carryforwards",
                            "terseLabel":  "Net operating loss (NOL) carryforwards"
                            }
                        }
                    },
                "localname":  "OperatingLossCarryforwards",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherAssets":  {
                "auth_ref":  [
                    "r9",
                    "r591",
                    "r655"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  11.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of assets classified as other.",
                            "label":  "Other Assets",
                            "terseLabel":  "Other assets"
                            }
                        }
                    },
                "localname":  "OtherAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherAssetsFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of other assets.",
                            "label":  "Other Assets, Fair Value Disclosure",
                            "terseLabel":  "Other assets"
                            }
                        }
                    },
                "localname":  "OtherAssetsFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueOtherAssetsAndOtherLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax [Abstract]",
                            "verboseLabel":  "Other comprehensive income"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent":  {
                "auth_ref":  [
                    "r456",
                    "r457",
                    "r463"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax and reclassification adjustments, of appreciation (loss) in value of unsold available-for-sale securities, attributable to parent entity.  Excludes amounts related to other than temporary impairment (OTTI) loss.",
                            "label":  "Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax, Portion Attributable to Parent",
                            "terseLabel":  "Net change in unrealized gain on securities available for sale"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesTaxPortionAttributableToParent":  {
                "auth_ref":  [
                    "r456",
                    "r457",
                    "r463"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of tax expense (benefit), after reclassification adjustments, of appreciation (loss) in value of unsold available-for-sale securities, attributable to parent entity.  Excludes amounts related to other than temporary impairment (OTTI) loss.",
                            "label":  "Other Comprehensive Income (Loss), Available-for-sale Securities, Tax, Portion Attributable to Parent",
                            "negatedLabel":  "Tax effect"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeAvailableforsaleSecuritiesTaxPortionAttributableToParent",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Defined benefit pension plan:"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent":  {
                "auth_ref":  [
                    "r37",
                    "r39",
                    "r456",
                    "r463"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
                        "weight":  -1.0
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after tax and reclassification adjustment, of (increase) decrease in accumulated other comprehensive income for defined benefit plan, attributable to parent.",
                            "label":  "Other Comprehensive (Income) Loss, Pension and Other Postretirement Benefit Plans, Adjustment, Net of Tax, Portion Attributable to Parent",
                            "negatedLabel":  "Actuarial loss on defined benefit pension obligation",
                            "negatedTotalLabel":  "Changes from defined benefit pension plan"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent":  {
                "auth_ref":  [
                    "r456",
                    "r457",
                    "r463"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after reclassification adjustment, of tax (expense) benefit for (increase) decrease in accumulated other comprehensive income for defined benefit plan, attributable to parent.",
                            "label":  "Other Comprehensive (Income) Loss, Pension and Other Postretirement Benefit Plans, Tax, Portion Attributable to Parent",
                            "terseLabel":  "Tax effect"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax":  {
                "auth_ref":  [
                    "r34",
                    "r35",
                    "r39"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after tax and adjustment, 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) and unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
                            "label":  "Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax",
                            "totalLabel":  "Net change in unrealized gains on available for sale securities"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Other Comprehensive Income (Loss), Net of Tax [Abstract]",
                            "verboseLabel":  "Other comprehensive income (loss):"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent":  {
                "auth_ref":  [
                    "r46",
                    "r49",
                    "r456",
                    "r457",
                    "r463"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax of other comprehensive income (loss) attributable to parent entity.",
                            "label":  "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent",
                            "totalLabel":  "Other comprehensive loss, net of tax"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax":  {
                "auth_ref":  [
                    "r36",
                    "r39",
                    "r346"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, before tax, of gain (loss) for (increase) decrease in value of benefit obligation for change in actuarial assumptions and increase (decrease) in value of plan assets from experience different from that assumed of defined benefit plan, that has not been recognized in net periodic benefit (cost) credit.",
                            "label":  "Other Comprehensive Income (Loss), Pension and Other Postretirement Benefit Plans, Net Unamortized Gain (Loss) Arising During Period, before Tax",
                            "verboseLabel":  "Net unrealized actuarial gain (loss) on defined benefit pension obligation"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax":  {
                "auth_ref":  [
                    "r39",
                    "r42",
                    "r43",
                    "r220"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities.",
                            "label":  "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, before Tax",
                            "negatedLabel":  "Reclassification adjustment for securities gains included in net income"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax":  {
                "auth_ref":  [
                    "r34",
                    "r39",
                    "r220"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, before tax and adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).  Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
                            "label":  "Other Comprehensive Income (Loss), Unrealized Holding Gain (Loss) on Securities Arising During Period, before Tax",
                            "terseLabel":  "Unrealized gains arising during the period"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherExpenses":  {
                "auth_ref":  [
                    "r59",
                    "r671"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  11.0,
                        "parentTag":  "us-gaap_NoninterestExpense",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of expense classified as other.",
                            "label":  "Other Expenses",
                            "terseLabel":  "Other"
                            }
                        }
                    },
                "localname":  "OtherExpenses",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherIncome":  {
                "auth_ref":  [
                    "r670"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Revenues",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of revenue and income classified as other.",
                            "label":  "Other Income",
                            "terseLabel":  "Miscellaneous income"
                            }
                        }
                    },
                "localname":  "OtherIncome",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherInterestAndDividendIncome":  {
                "auth_ref":  [
                    "r624"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_InterestAndDividendIncomeOperating",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after discount, accretion and premium amortization, of interest income and dividend income classified as other.",
                            "label":  "Other Interest and Dividend Income",
                            "terseLabel":  "Other interest income"
                            }
                        }
                    },
                "localname":  "OtherInterestAndDividendIncome",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherLiabilities":  {
                "auth_ref":  [
                    "r603"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of liabilities classified as other.",
                            "label":  "Other Liabilities",
                            "terseLabel":  "Other liabilities"
                            }
                        }
                    },
                "localname":  "OtherLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherLiabilitiesFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of other liabilities.",
                            "label":  "Other Liabilities, Fair Value Disclosure",
                            "terseLabel":  "Other liabilities"
                            }
                        }
                    },
                "localname":  "OtherLiabilitiesFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueOtherAssetsAndOtherLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherRealEstateAndForeclosedAssets":  {
                "auth_ref":  [
                    "r598"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying amount as of the balance sheet date of other real estate and foreclosed assets.  Other real estate may include real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned.  Foreclosed assets include all assets obtained in full or partial satisfaction of a debt arrangement through foreclosure proceedings.",
                            "label":  "Other Real Estate, Foreclosed Assets, and Repossessed Assets",
                            "periodEndLabel":  "Total other real estate held for sale",
                            "periodStartLabel":  "Balance, January 1",
                            "terseLabel":  "Other real estate held for sale",
                            "verboseLabel":  "Other real estate owned"
                            }
                        }
                    },
                "localname":  "OtherRealEstateAndForeclosedAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueNonrecurringBasisDetails",
                    "http://www.bankmbank.com/role/DisclosureOtherRealEstateHeldForSaleDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PastDueFinancingReceivablesTableTextBlock":  {
                "auth_ref":  [
                    "r183",
                    "r184",
                    "r228",
                    "r240"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of aging analysis for financing receivable.",
                            "label":  "Past Due Financing Receivables [Table Text Block]",
                            "terseLabel":  "Summary of past due loans"
                            }
                        }
                    },
                "localname":  "PastDueFinancingReceivablesTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale":  {
                "auth_ref":  [
                    "r75"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate amount of cash outflow for loans purchased and created with the intention to resell them in the near future.",
                            "label":  "Payments for Origination and Purchases of Loans Held-for-sale",
                            "negatedLabel":  "Origination of loans held for sale in secondary market"
                            }
                        }
                    },
                "localname":  "PaymentsForOriginationAndPurchasesOfLoansHeldForSale",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsForProceedsFromLoansAndLeases":  {
                "auth_ref":  [
                    "r98"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The net cash outflow or inflow for the increase (decrease) in the beginning and end of period of loan and lease balances which are not originated or purchased specifically for resale.  Includes cash payments and proceeds associated with (a) loans held-for-investment, (b) leases held-for-investment, and (c) both.",
                            "label":  "Payments for (Proceeds from) Loans and Leases",
                            "negatedLabel":  "Net increase in loans"
                            }
                        }
                    },
                "localname":  "PaymentsForProceedsFromLoansAndLeases",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsForRepurchaseOfCommonStock":  {
                "auth_ref":  [
                    "r70"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow to reacquire common stock during the period.",
                            "label":  "Payments for Repurchase of Common Stock",
                            "negatedLabel":  "Repurchase of common stock",
                            "negatedTerseLabel":  "Repurchase of common stock"
                            }
                        }
                    },
                "localname":  "PaymentsForRepurchaseOfCommonStock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsOfDividendsCommonStock":  {
                "auth_ref":  [
                    "r70"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity.",
                            "label":  "Payments of Ordinary Dividends, Common Stock",
                            "negatedLabel":  "Dividend on common stock"
                            }
                        }
                    },
                "localname":  "PaymentsOfDividendsCommonStock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt":  {
                "auth_ref":  [
                    "r61",
                    "r65",
                    "r200"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow to acquire investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Payments to Acquire Available-for-sale Securities",
                            "negatedLabel":  "Purchase of securities available for sale"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireAvailableForSaleSecuritiesDebt",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireInterestInSubsidiariesAndAffiliates":  {
                "auth_ref":  [
                    "r66"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow associated with the acquisition of or advances to an entity that is related to it but not strictly controlled (for example, an unconsolidated subsidiary, affiliate, and joint venture or equity method investment) or the acquisition of an additional interest in a subsidiary (controlled entity).",
                            "label":  "Payments to Acquire Interest in Subsidiaries and Affiliates",
                            "negatedLabel":  "Investments in subsidiaries"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireInterestInSubsidiariesAndAffiliates",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireMortgageServicingRightsMSR":  {
                "auth_ref":  [
                    "r68",
                    "r527"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow to obtain servicing rights, which contractually entitle the servicer to receive fees and ancillary revenues for performing billing, collection, disbursement and recordkeeping services in connection with a mortgage portfolio.  Rights may be obtained via (1) acquisition or assumption of a servicing obligation that does not relate to financial assets of the servicer or its consolidated affiliates; or (2) by originating mortgage loans and then (a) transferring the loans to a Variable Interest Entity (VIE) in a transaction that meets the necessary transfer and classification requirements, or (b) transferring the loans in a transaction that meets the requirements for sale accounting.",
                            "label":  "Payments to Acquire Mortgage Servicing Rights (MSR)",
                            "terseLabel":  "Increase to MSRs"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireMortgageServicingRightsMSR",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireProductiveAssets":  {
                "auth_ref":  [
                    "r67"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow for purchases of and capital improvements on property, plant and equipment (capital expenditures), software, and other intangible assets.",
                            "label":  "Payments to Acquire Productive Assets",
                            "negatedLabel":  "Capital expenditures"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireProductiveAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock":  {
                "auth_ref":  [
                    "r326",
                    "r328",
                    "r334",
                    "r352",
                    "r354",
                    "r355",
                    "r356",
                    "r357",
                    "r358",
                    "r373",
                    "r375",
                    "r376",
                    "r378",
                    "r391"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for retirement benefits.",
                            "label":  "Pension and Other Postretirement Benefits Disclosure [Text Block]",
                            "terseLabel":  "RETIREMENT PLAN"
                            }
                        }
                    },
                "localname":  "PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRetirementPlan"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_PensionPlansDefinedBenefitMember":  {
                "auth_ref":  [
                    "r299",
                    "r302",
                    "r304",
                    "r305",
                    "r306",
                    "r307",
                    "r308",
                    "r309",
                    "r310",
                    "r311",
                    "r312",
                    "r313",
                    "r314",
                    "r315",
                    "r316",
                    "r317",
                    "r318",
                    "r319",
                    "r320",
                    "r321",
                    "r322",
                    "r323",
                    "r324",
                    "r326",
                    "r327",
                    "r329",
                    "r330",
                    "r331",
                    "r332",
                    "r333",
                    "r334",
                    "r335",
                    "r336",
                    "r337",
                    "r338",
                    "r339",
                    "r340",
                    "r341",
                    "r342",
                    "r343",
                    "r344",
                    "r345",
                    "r346",
                    "r347",
                    "r349",
                    "r350",
                    "r351",
                    "r353",
                    "r356",
                    "r360",
                    "r363",
                    "r364",
                    "r365",
                    "r366",
                    "r367",
                    "r368",
                    "r369",
                    "r370",
                    "r371",
                    "r372",
                    "r373",
                    "r374",
                    "r378",
                    "r379",
                    "r386",
                    "r387",
                    "r388",
                    "r389"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Plan designed to provide participant with pension benefits.  Includes, but is not limited to, defined benefit and defined contribution plans.  Excludes other postretirement benefits.",
                            "label":  "Pension Plans Defined Benefit [Member]",
                            "terseLabel":  "Peninsula Financial Corporation noncontributory defined benefit pension plan"
                            }
                        }
                    },
                "localname":  "PensionPlansDefinedBenefitMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_PlanAssetCategoriesDomain":  {
                "auth_ref":  [
                    "r326",
                    "r327",
                    "r329",
                    "r330",
                    "r331",
                    "r332",
                    "r333",
                    "r334",
                    "r353",
                    "r373"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Defined benefit plan asset investment.",
                            "label":  "Plan Asset Categories [Domain]",
                            "terseLabel":  "Defined Benefit Plan, Plan Assets, Category [Domain]"
                            }
                        }
                    },
                "localname":  "PlanAssetCategoriesDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_PlanNameAxis":  {
                "auth_ref":  [
                    "r395",
                    "r408"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by plan name for share-based payment arrangement.",
                            "label":  "Plan Name [Axis]"
                            }
                        }
                    },
                "localname":  "PlanNameAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PlanNameDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Plan name for share-based payment arrangement.",
                            "label":  "Plan Name [Domain]",
                            "terseLabel":  "Plan Name [Domain]"
                            }
                        }
                    },
                "localname":  "PlanNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_PortionAtFairValueFairValueDisclosureMember":  {
                "auth_ref":  [
                    "r483"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measured at fair value for financial reporting purposes.",
                            "label":  "Portion At Fair Value Fair Value Disclosure [Member]",
                            "terseLabel":  "Portion at Fair Value Measurement [Member]"
                            }
                        }
                    },
                "localname":  "PortionAtFairValueFairValueDisclosureMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_PriorPeriodReclassificationAdjustmentDescription":  {
                "auth_ref":  [
                    "r0"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for reclassification affecting comparability of financial statement.  Excludes amendment to accounting standards, other change in accounting principle, and correction of error.",
                            "label":  "Reclassification, Policy [Policy Text Block]",
                            "terseLabel":  "Reclassifications"
                            }
                        }
                    },
                "localname":  "PriorPeriodReclassificationAdjustmentDescription",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ProceedsFromFederalHomeLoanBankBorrowings":  {
                "auth_ref":  [
                    "r69"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow from Federal Home Loan Bank (FHLBank) borrowing, classified as financing activity.",
                            "label":  "Proceeds from Federal Home Loan Bank Borrowings",
                            "terseLabel":  "Proceeds from FHLB borrowing"
                            }
                        }
                    },
                "localname":  "ProceedsFromFederalHomeLoanBankBorrowings",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks":  {
                "auth_ref":  [
                    "r85",
                    "r629"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The net cash inflow or outflow in Interest-bearing Deposits by banks in other financial institutions for relatively short periods of time including, for example, certificates of deposits.",
                            "label":  "Proceeds from (Payments for) in Interest-bearing Deposits in Banks",
                            "terseLabel":  "Net decrease in interest-bearing deposits in other financial institutions"
                            }
                        }
                    },
                "localname":  "ProceedsFromPaymentsForInInterestBearingDepositsInBanks",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromSaleAndCollectionOfLoansHeldforsale":  {
                "auth_ref":  [
                    "r72",
                    "r75"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow from sale proceeds and collection of repayments from borrowers on loans classified as held-for-sale, including proceeds from loans sold through mortgage securitization; includes mortgages and other types of loans.",
                            "label":  "Proceeds from Sale and Collection of Loans Held-for-sale",
                            "terseLabel":  "Proceeds from sale of loans in the secondary market"
                            }
                        }
                    },
                "localname":  "ProceedsFromSaleAndCollectionOfLoansHeldforsale",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities":  {
                "auth_ref":  [
                    "r61",
                    "r62",
                    "r200"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow from sale, maturity, prepayment and call of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Proceeds from Sale and Maturity of Available-for-sale Securities",
                            "terseLabel":  "Proceeds from maturities, sales, calls or paydowns of securities available for sale"
                            }
                        }
                    },
                "localname":  "ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromSaleOfOtherRealEstate":  {
                "auth_ref":  [
                    "r64"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow associated with the sale of other real estate not otherwise defined in the taxonomy.",
                            "label":  "Proceeds from Sale of Other Real Estate",
                            "negatedLabel":  "Proceeds from other real estate sold"
                            }
                        }
                    },
                "localname":  "ProceedsFromSaleOfOtherRealEstate",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureOtherRealEstateHeldForSaleDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromSaleOfProductiveAssets":  {
                "auth_ref":  [
                    "r63"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow from the sale of property, plant and equipment (capital expenditures), software, and other intangible assets.",
                            "label":  "Proceeds from Sale of Productive Assets",
                            "terseLabel":  "Proceeds from sale of premises, equipment, and other real estate"
                            }
                        }
                    },
                "localname":  "ProceedsFromSaleOfProductiveAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProfessionalFees":  {
                "auth_ref":  [
                    "r683",
                    "r684"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NoninterestExpense",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A fee charged for services from professionals such as doctors, lawyers and accountants.  The term is often expanded to include other professions, for example, pharmacists charging to maintain a medicinal profile of a client or customer.",
                            "label":  "Professional Fees",
                            "terseLabel":  "Professional service fees"
                            }
                        }
                    },
                "localname":  "ProfessionalFees",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProfitLoss":  {
                "auth_ref":  [
                    "r2",
                    "r45",
                    "r48",
                    "r74",
                    "r94",
                    "r104",
                    "r112",
                    "r113",
                    "r145",
                    "r147",
                    "r150",
                    "r153",
                    "r155",
                    "r224",
                    "r456",
                    "r461",
                    "r462",
                    "r467",
                    "r468",
                    "r490",
                    "r630"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
                            "label":  "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
                            "terseLabel":  "Net income"
                            }
                        }
                    },
                "localname":  "ProfitLoss",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "PREMISES AND EQUIPMENT"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentByTypeAxis":  {
                "auth_ref":  [
                    "r26",
                    "r271"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
                            "label":  "Property, Plant and Equipment, Type [Axis]"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentByTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock":  {
                "auth_ref":  [
                    "r272",
                    "r692",
                    "r693",
                    "r694"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale.  Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
                            "label":  "Property, Plant and Equipment Disclosure [Text Block]",
                            "terseLabel":  "PREMISES AND EQUIPMENT"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipment"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentGross":  {
                "auth_ref":  [
                    "r25",
                    "r269"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_PropertyPlantAndEquipmentNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale.  Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
                            "label":  "Property, Plant and Equipment, Gross",
                            "terseLabel":  "Total cost basis"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentGross",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Property, Plant and Equipment [Line Items]",
                            "terseLabel":  "Premises and Equipment",
                            "verboseLabel":  "OPERATING LEASES"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails",
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentNet":  {
                "auth_ref":  [
                    "r7",
                    "r8",
                    "r271",
                    "r661"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale.  Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
                            "label":  "Property, Plant and Equipment, Net",
                            "terseLabel":  "Premises and equipment",
                            "totalLabel":  "Net book value"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock":  {
                "auth_ref":  [
                    "r24",
                    "r92",
                    "r271",
                    "r692",
                    "r693"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for long-lived, physical asset used in normal conduct of business and not intended for resale.  Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
                            "label":  "Property, Plant and Equipment, Policy [Policy Text Block]",
                            "terseLabel":  "Premises and Equipment"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentTextBlock":  {
                "auth_ref":  [
                    "r7",
                    "r271"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale.  Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
                            "label":  "Property, Plant and Equipment [Table Text Block]",
                            "terseLabel":  "Schedule of details of premises and equipment"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentTypeDomain":  {
                "auth_ref":  [
                    "r7",
                    "r269"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale.  Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
                            "label":  "Property Plant And Equipment Type [Domain]",
                            "terseLabel":  "Property, Plant and Equipment, Type [Domain]"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ProvisionForLoanAndLeaseLosses":  {
                "auth_ref":  [
                    "r80",
                    "r162",
                    "r616"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of expense related to estimated loss from loan and lease transactions.",
                            "label":  "Provision for Loan and Lease Losses",
                            "terseLabel":  "Provision for loan losses",
                            "verboseLabel":  "Provision"
                            }
                        }
                    },
                "localname":  "ProvisionForLoanAndLeaseLosses",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RealEstateAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "OTHER REAL ESTATE HELD FOR SALE"
                            }
                        }
                    },
                "localname":  "RealEstateAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RealEstateOwnedTextBlock":  {
                "auth_ref":  [
                    "r160"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for real estate owned (as defined).  Generally, the largest component of real estate owned by lenders is assets taken in settlement of troubled loans through surrender or foreclosure.  Real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned.",
                            "label":  "Real Estate Owned [Text Block]",
                            "terseLabel":  "OTHER REAL ESTATE HELD FOR SALE"
                            }
                        }
                    },
                "localname":  "RealEstateOwnedTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureOtherRealEstateHeldForSale"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ReceivableTypeDomain":  {
                "auth_ref":  [
                    "r33"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financing arrangement representing a contractual right to receive money either on demand or on fixed and determinable dates.",
                            "label":  "Receivable Type [Domain]",
                            "terseLabel":  "Receivable [Domain]"
                            }
                        }
                    },
                "localname":  "ReceivableTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ReceivablesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "LOANS"
                            }
                        }
                    },
                "localname":  "ReceivablesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock":  {
                "auth_ref":  [
                    "r642",
                    "r643",
                    "r644",
                    "r646",
                    "r647",
                    "r648",
                    "r650",
                    "r651"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for regulatory capital requirement for depository and lending institutions.  Institutions include, but not are not limited to, finance company, insured depository institution, bank holding company, savings and loan association holding company, bank and savings institution not federally insured, mortgage company, foreign financial institution and credit union.",
                            "label":  "Regulatory Capital Requirements under Banking Regulations [Text Block]",
                            "terseLabel":  "REGULATORY MATTERS"
                            }
                        }
                    },
                "localname":  "RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMatters"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_RelatedPartyDomain":  {
                "auth_ref":  [
                    "r353",
                    "r512",
                    "r513"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families.  It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
                            "label":  "Related Party [Domain]",
                            "terseLabel":  "Related Party [Domain]"
                            }
                        }
                    },
                "localname":  "RelatedPartyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis":  {
                "auth_ref":  [
                    "r353",
                    "r512",
                    "r514",
                    "r574",
                    "r575",
                    "r576",
                    "r577",
                    "r578",
                    "r579",
                    "r580",
                    "r581",
                    "r582",
                    "r583",
                    "r584",
                    "r585"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of related party.  Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families.  It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
                            "label":  "Related Party [Axis]"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionsByRelatedPartyAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RepaymentsOfLongTermDebt":  {
                "auth_ref":  [
                    "r71"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer.",
                            "label":  "Repayments of Long-term Debt",
                            "negatedLabel":  "Principal payments on term borrowings",
                            "negatedTerseLabel":  "Principal payments on borrowings"
                            }
                        }
                    },
                "localname":  "RepaymentsOfLongTermDebt",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ResidentialPortfolioSegmentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Portfolio segment of the company's total financing receivables related to residential financing receivables.",
                            "label":  "Residential Portfolio Segment [Member]",
                            "terseLabel":  "Residential Portfolio Segment [Member]"
                            }
                        }
                    },
                "localname":  "ResidentialPortfolioSegmentMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RestrictedCashAndCashEquivalents":  {
                "auth_ref":  [
                    "r5",
                    "r83",
                    "r91",
                    "r588",
                    "r657"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash and cash equivalents restricted as to withdrawal or usage.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Restricted Cash and Cash Equivalents",
                            "terseLabel":  "Restricted cash and cash equivalents"
                            }
                        }
                    },
                "localname":  "RestrictedCashAndCashEquivalents",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRestrictionsOnCashAndCashEquivalentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RestrictedCashAndInvestmentsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "RESTRICTIONS ON CASH AND CASH EQUIVALENTS"
                            }
                        }
                    },
                "localname":  "RestrictedCashAndInvestmentsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RestrictedStockUnitsRSUMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
                            "label":  "Restricted Stock Units R S U [Member]",
                            "terseLabel":  "RSUs"
                            }
                        }
                    },
                "localname":  "RestrictedStockUnitsRSUMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RetainedEarningsAccumulatedDeficit":  {
                "auth_ref":  [
                    "r17",
                    "r290",
                    "r412",
                    "r659",
                    "r677",
                    "r679"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
                            "label":  "Retained Earnings (Accumulated Deficit).",
                            "terseLabel":  "Retained earnings"
                            }
                        }
                    },
                "localname":  "RetainedEarningsAccumulatedDeficit",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RetainedEarningsMember":  {
                "auth_ref":  [
                    "r101",
                    "r102",
                    "r103",
                    "r105",
                    "r111",
                    "r113",
                    "r225",
                    "r409",
                    "r410",
                    "r411",
                    "r439",
                    "r440",
                    "r674",
                    "r676"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
                            "label":  "Retained Earnings [Member]",
                            "terseLabel":  "Retained Earnings"
                            }
                        }
                    },
                "localname":  "RetainedEarningsMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RetirementPlanTypeAxis":  {
                "auth_ref":  [
                    "r299",
                    "r300",
                    "r302",
                    "r304",
                    "r305",
                    "r306",
                    "r307",
                    "r308",
                    "r309",
                    "r310",
                    "r311",
                    "r312",
                    "r313",
                    "r314",
                    "r315",
                    "r316",
                    "r317",
                    "r318",
                    "r319",
                    "r320",
                    "r321",
                    "r322",
                    "r323",
                    "r324",
                    "r326",
                    "r327",
                    "r329",
                    "r330",
                    "r331",
                    "r332",
                    "r333",
                    "r334",
                    "r335",
                    "r336",
                    "r337",
                    "r338",
                    "r339",
                    "r340",
                    "r341",
                    "r342",
                    "r343",
                    "r344",
                    "r345",
                    "r346",
                    "r347",
                    "r349",
                    "r350",
                    "r351",
                    "r353",
                    "r356",
                    "r360",
                    "r363",
                    "r364",
                    "r365",
                    "r366",
                    "r367",
                    "r368",
                    "r369",
                    "r370",
                    "r371",
                    "r372",
                    "r373",
                    "r374",
                    "r378",
                    "r379",
                    "r380",
                    "r381",
                    "r382",
                    "r383",
                    "r386",
                    "r387",
                    "r388",
                    "r389"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of retirement benefit plan.  Includes, but is not limited to, retirement benefit arrangement for defined benefit pension and other postretirement plans, retirement benefit arrangement for defined contribution pension and other postretirement plans, and special and contractual termination benefits payable upon retirement.",
                            "label":  "Retirement Plan Type [Axis]"
                            }
                        }
                    },
                "localname":  "RetirementPlanTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RetirementPlanTypeDomain":  {
                "auth_ref":  [
                    "r299",
                    "r300",
                    "r302",
                    "r304",
                    "r305",
                    "r306",
                    "r307",
                    "r308",
                    "r309",
                    "r310",
                    "r311",
                    "r312",
                    "r313",
                    "r314",
                    "r315",
                    "r316",
                    "r317",
                    "r318",
                    "r319",
                    "r320",
                    "r321",
                    "r322",
                    "r323",
                    "r324",
                    "r326",
                    "r327",
                    "r329",
                    "r330",
                    "r331",
                    "r332",
                    "r333",
                    "r334",
                    "r335",
                    "r336",
                    "r337",
                    "r338",
                    "r339",
                    "r340",
                    "r341",
                    "r342",
                    "r343",
                    "r344",
                    "r345",
                    "r346",
                    "r347",
                    "r349",
                    "r350",
                    "r351",
                    "r353",
                    "r356",
                    "r360",
                    "r363",
                    "r364",
                    "r365",
                    "r366",
                    "r367",
                    "r368",
                    "r369",
                    "r370",
                    "r371",
                    "r372",
                    "r373",
                    "r374",
                    "r378",
                    "r379",
                    "r380",
                    "r381",
                    "r382",
                    "r383",
                    "r386",
                    "r387",
                    "r388",
                    "r389"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Type of plan designed to provide participants with retirement benefits.  Includes, but is not limited to, retirement benefit arrangement for defined benefit pension and other postretirement plans, retirement benefit arrangement for defined contribution pension and other postretirement plans, and special and contractual termination benefits payable upon retirement.",
                            "label":  "Retirement Plan Type [Domain]",
                            "terseLabel":  "Defined Benefit Plan and Other Postretirement Benefit Plan [Domain] (Deprecated 2017-01-31)"
                            }
                        }
                    },
                "localname":  "RetirementPlanTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax":  {
                "auth_ref":  [
                    "r140",
                    "r141",
                    "r146",
                    "r151",
                    "r152",
                    "r156",
                    "r157",
                    "r158",
                    "r292",
                    "r293",
                    "r571"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NoninterestIncome",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, including tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer.  Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value-added and excise.",
                            "label":  "Revenue from Contract with Customer, Including Assessed Tax",
                            "terseLabel":  "Deposit service fees"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerIncludingAssessedTax",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RevenueRecognitionInterest":  {
                "auth_ref":  [
                    "r92"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for recognition of interest revenue.  Disclosure may include the method of recognizing interest income on loan and trade receivables, the method of amortizing premiums or accreting discounts, and a statement about the policy for the treatment of related fees and costs, including the method of amortizing net deferred fees and costs.",
                            "label":  "Revenue Recognition, Interest [Policy Text Block]",
                            "terseLabel":  "Interest Income and Fees on Loans"
                            }
                        }
                    },
                "localname":  "RevenueRecognitionInterest",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_Revenues":  {
                "auth_ref":  [
                    "r53",
                    "r94",
                    "r140",
                    "r141",
                    "r146",
                    "r151",
                    "r152",
                    "r156",
                    "r157",
                    "r158",
                    "r224",
                    "r490",
                    "r630"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process.  Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
                            "label":  "Revenues",
                            "totalLabel":  "Total income"
                            }
                        }
                    },
                "localname":  "Revenues",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RevenuesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Revenues [Abstract]",
                            "terseLabel":  "INCOME:"
                            }
                        }
                    },
                "localname":  "RevenuesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsStatementOfOperationsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RevolvingCreditFacilityMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Arrangement in which loan proceeds can continuously be obtained following repayments, but the total amount borrowed cannot exceed a specified maximum amount.",
                            "label":  "Revolving Credit Facility [Member]",
                            "terseLabel":  "Revolving Credit Facility"
                            }
                        }
                    },
                "localname":  "RevolvingCreditFacilityMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ScenarioPlanMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The scenario under which facts represent plans as distinct from actual.",
                            "label":  "Scenario Plan [Member]",
                            "terseLabel":  "Plan"
                            }
                        }
                    },
                "localname":  "ScenarioPlanMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable":  {
                "auth_ref":  [
                    "r33"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule itemizing specific types of trade accounts and notes receivable, and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date.  Presentation is categorized by current, noncurrent and unclassified receivables.",
                            "label":  "Schedule of Accounts, Notes, Loans and Financing Receivable [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfAccountsNotesLoansAndFinancingReceivableTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock":  {
                "auth_ref":  [
                    "r33"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date.  Presentation is categorized by current, noncurrent and unclassified receivables.",
                            "label":  "Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block]",
                            "terseLabel":  "Schedule of composition of loans"
                            }
                        }
                    },
                "localname":  "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfAllocationOfPlanAssetsTableTextBlock":  {
                "auth_ref":  [
                    "r325"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the major categories of plan assets of pension plans and/or other employee benefit plans.  This information may include, but is not limited to, the target allocation of plan assets, the fair value of each major category of plan assets, and the level within the fair value hierarchy in which the fair value measurements fall.",
                            "label":  "Schedule of Allocation of Plan Assets [Table Text Block]",
                            "terseLabel":  "Schedule of asset allocation"
                            }
                        }
                    },
                "localname":  "ScheduleOfAllocationOfPlanAssetsTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfAssumptionsUsedTableTextBlock":  {
                "auth_ref":  [
                    "r348"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of assumption used to determine benefit obligation and net periodic benefit cost of defined benefit plan.  Includes, but is not limited to, discount rate, rate of compensation increase, expected long-term rate of return on plan assets and interest crediting rate.",
                            "label":  "Schedule of Assumptions Used [Table Text Block]",
                            "terseLabel":  "Schedule of assumptions in the actuarial valuation"
                            }
                        }
                    },
                "localname":  "ScheduleOfAssumptionsUsedTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Schedule of Available-for-sale Securities [Line Items]",
                            "terseLabel":  "SECURITIES AVAILABLE FOR SALE"
                            }
                        }
                    },
                "localname":  "ScheduleOfAvailableForSaleSecuritiesLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the reconciliation of available-for-sale securities from cost basis to fair value.",
                            "label":  "Schedule of Available-for-sale Securities Reconciliation [Table Text Block]",
                            "verboseLabel":  "Schedule of carrying value and estimated fair value of securities available for sale"
                            }
                        }
                    },
                "localname":  "ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTable":  {
                "auth_ref":  [
                    "r645",
                    "r649"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A table disclosing the capital amounts and ratios as of the balance sheet date indicating whether the entity or entities are in compliance with regulatory capital requirements, by entity.",
                            "label":  "Schedule of Compliance with Regulatory Capital Requirements under Banking Regulations [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock":  {
                "auth_ref":  [
                    "r645",
                    "r649"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the capital amounts and ratios as of the balance sheet date, indicating whether the entity or entities are in compliance with regulatory capital requirements, by entity.",
                            "label":  "Schedule of Compliance with Regulatory Capital Requirements under Banking Regulations [Table Text Block]",
                            "terseLabel":  "Schedule of the Corporation's and the Bank's actual and capital amounts and ratios compared to generally applicable regulatory requirements"
                            }
                        }
                    },
                "localname":  "ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock":  {
                "auth_ref":  [
                    "r438"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the components of income tax expense attributable to continuing operations for each year presented including, but not limited to: current tax expense (benefit), deferred tax expense (benefit), investment tax credits, government grants, the benefits of operating loss carryforwards, tax expense that results from allocating certain tax benefits either directly to contributed capital or to reduce goodwill or other noncurrent intangible assets of an acquired entity, adjustments of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity, and adjustments of the beginning-of-the-year balances of a valuation allowance because of a change in circumstances that causes a change in judgment about the realizability of the related deferred tax asset in future years.",
                            "label":  "Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]",
                            "terseLabel":  "Schedule of components of the federal income tax provision (credit)"
                            }
                        }
                    },
                "localname":  "ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfDebtInstrumentsTextBlock":  {
                "auth_ref":  [
                    "r31",
                    "r96",
                    "r286",
                    "r287",
                    "r288",
                    "r289",
                    "r499",
                    "r500",
                    "r502",
                    "r641"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of long-debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation.  These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the entity, if longer.",
                            "label":  "Schedule of Long-term Debt Instruments [Table Text Block]",
                            "terseLabel":  "Schedule of borrowings"
                            }
                        }
                    },
                "localname":  "ScheduleOfDebtInstrumentsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfDeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTitleOfIndividualAndByTypeOfDeferredCompensationTable":  {
                "auth_ref":  [
                    "r295",
                    "r296"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule, table or text reflecting arrangements that are not equity-based payments, or pension and other postretirement benefits, with individual employees.  The arrangements (for example, profit sharing, deferred bonuses or certain split-dollar life insurance arrangements) are generally based on employment contracts between the entity and one or more selected officers or key employees, and which contain a promise by the employer to pay certain amounts at designated future dates, sometimes including a period after retirement, upon compliance with stipulated requirements.  This type of arrangement is distinguished from broader based employee benefit plans as it is usually tailored to the employee.  Disclosure also typically includes the amount of related compensation expense recognized during the reporting period and the carrying amount as of the balance sheet date of the related liability.",
                            "label":  "Schedule of Deferred Compensation Arrangement with Individual, Excluding Share-based Payments and Postretirement Benefits, by Title of Individual and by Type of Deferred Compensation [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfDeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTitleOfIndividualAndByTypeOfDeferredCompensationTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDeferredCompensationPlanDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock":  {
                "auth_ref":  [
                    "r430"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets.",
                            "label":  "Schedule of Deferred Tax Assets and Liabilities [Table Text Block]",
                            "terseLabel":  "Schedule of major components of net deferred tax assets"
                            }
                        }
                    },
                "localname":  "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable":  {
                "auth_ref":  [
                    "r359",
                    "r360",
                    "r361",
                    "r362",
                    "r373"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosures about an individual defined benefit pension plan or an other postretirement defined benefit plan.  It may be appropriate to group certain similar plans.  Also includes schedule for fair value of plan assets by major categories of plan assets by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets or liabilities (Level 1), Significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
                            "label":  "Schedule of Defined Benefit Plans Disclosures [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfDefinedBenefitPlansDisclosuresTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock":  {
                "auth_ref":  [
                    "r122"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
                            "label":  "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
                            "terseLabel":  "Schedule showing the computation of basic and diluted earnings per share"
                            }
                        }
                    },
                "localname":  "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock":  {
                "auth_ref":  [
                    "r424"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the reconciliation using percentage or dollar amounts of the reported amount of income tax expense attributable to continuing operations for the year to the amount of income tax expense that would result from applying domestic federal statutory tax rates to pretax income from continuing operations.",
                            "label":  "Schedule of Effective Income Tax Rate Reconciliation [Table Text Block]",
                            "terseLabel":  "Summary of the source of differences between income taxes at the federal statutory rate and the provision (credit) for income taxes"
                            }
                        }
                    },
                "localname":  "ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureIncomeTaxesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfExpectedBenefitPaymentsTableTextBlock":  {
                "auth_ref":  [
                    "r336"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of benefits expected to be paid by pension plans and/or other employee benefit plans in each of the next five fiscal years and in the aggregate for the five fiscal years thereafter.",
                            "label":  "Schedule of Expected Benefit Payments [Table Text Block]",
                            "terseLabel":  "Schedule of anticipated distributions over the next five years"
                            }
                        }
                    },
                "localname":  "ScheduleOfExpectedBenefitPaymentsTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDefinedBenefitPensionPlanTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable":  {
                "auth_ref":  [
                    "r484",
                    "r485"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule detailing the information required and determined to be disclosed regarding the fair value of financial assets and financial liabilities, which are not recognized in the financial statements (off-balance sheet) because they fail to meet some other criterion for recognition.",
                            "label":  "Schedule of Fair Value, Off-balance Sheet Risks [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfFairValueOffBalanceSheetRisksTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTextBlock":  {
                "auth_ref":  [
                    "r484",
                    "r485"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined) which are not recognized in the financial statements (off-balance sheet) because they fail to meet some other criterion for recognition.",
                            "label":  "Schedule of Fair Value, Off-balance Sheet Risks [Table Text Block]",
                            "terseLabel":  "Schedule of commitments"
                            }
                        }
                    },
                "localname":  "ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable":  {
                "auth_ref":  [
                    "r227"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about allowance for credit loss on financing receivable.",
                            "label":  "Schedule of Financing Receivable, Allowance for Credit Losses [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfFinancingReceivableAllowanceForCreditLossesTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable":  {
                "auth_ref":  [
                    "r232",
                    "r239"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about credit quality indicator for financing receivable.",
                            "label":  "Schedule of Financing Receivable, Recorded Investment, Credit Quality Indicator [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable":  {
                "auth_ref":  [
                    "r177",
                    "r178"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about financing receivable modified as troubled debt restructuring.",
                            "label":  "Schedule of Financing Receivable, Troubled Debt Restructurings [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansTroubledDebtRestructuringDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfFinancingReceivablesPastDueTable":  {
                "auth_ref":  [
                    "r228",
                    "r240"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about aging analysis for financing receivable.",
                            "label":  "Schedule of Financing Receivables Past Due [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfFinancingReceivablesPastDueTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansPastDueDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfImpairedFinancingReceivableTable":  {
                "auth_ref":  [
                    "r172"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule of the recorded investment, unpaid principal balance, associated allowance, average recorded investment, accounting policies, and interest income recognized on the accrual and cash basis for impaired financing receivables by class of financing receivable.",
                            "label":  "Schedule of Impaired Financing Receivable [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfImpairedFinancingReceivableTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansImpairedLoansAndEffectOnInterestIncomeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock":  {
                "auth_ref":  [
                    "r282"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of maturity and sinking fund requirement for long-term debt.",
                            "label":  "Schedule of Maturities of Long-term Debt [Table Text Block]",
                            "terseLabel":  "Schedule of maturities and principal payments of borrowings outstanding"
                            }
                        }
                    },
                "localname":  "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfNonvestedShareActivityTableTextBlock":  {
                "auth_ref":  [
                    "r401"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the changes in outstanding nonvested shares.",
                            "label":  "Schedule of Nonvested Share Activity [Table Text Block]",
                            "terseLabel":  "Summary of changes in nonvested shares"
                            }
                        }
                    },
                "localname":  "ScheduleOfNonvestedShareActivityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable":  {
                "auth_ref":  [
                    "r26",
                    "r271"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale.  Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
                            "label":  "Property, Plant and Equipment [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfPropertyPlantAndEquipmentTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLeasesDetails",
                    "http://www.bankmbank.com/role/DisclosurePremisesAndEquipmentDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfRealizedGainLossTableTextBlock":  {
                "auth_ref":  [
                    "r219"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the proceeds from sales of available-for-sale securities and the gross realized gains and gross realized losses that have been included in earnings as a result of those sales.",
                            "label":  "Schedule of Realized Gain (Loss) [Table Text Block]",
                            "terseLabel":  "Summary of the proceeds from sales and calls of securities available for sale, as well as gross gains and losses"
                            }
                        }
                    },
                "localname":  "ScheduleOfRealizedGainLossTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfServicingAssetsAtFairValueTextBlock":  {
                "auth_ref":  [
                    "r549"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the activity in the balance of servicing assets (including a description of where changes in fair value are reported in the statement of income for each period for which results of operations are presented), including but not limited to, the following: beginning and ending balances, additions (for instance, through purchases of servicing assets), disposals, changes in fair value during the period resulting from changes in inputs or assumptions used in the valuation model, other changes in fair value along with a description of those changes, and other changes that affect the balance along with a description of those changes.",
                            "label":  "Schedule of Servicing Assets at Fair Value [Table Text Block]",
                            "terseLabel":  "Summary of mortgage servicing rights capitalized and amortized"
                            }
                        }
                    },
                "localname":  "ScheduleOfServicingAssetsAtFairValueTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable":  {
                "auth_ref":  [
                    "r395",
                    "r408"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about share-based payment arrangement.",
                            "label":  "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails",
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock":  {
                "auth_ref":  [
                    "r262"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets.",
                            "label":  "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]",
                            "terseLabel":  "Schedule of deposit based intangible asset amortization"
                            }
                        }
                    },
                "localname":  "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ServicingAssetAtAmortizedValueAmortization1":  {
                "auth_ref":  [
                    "r560"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of amortization of contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer.",
                            "label":  "Servicing Asset at Amortized Cost, Amortization",
                            "negatedLabel":  "Amortization"
                            }
                        }
                    },
                "localname":  "ServicingAssetAtAmortizedValueAmortization1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ServicingAssetAtAmortizedValueValuationAllowance":  {
                "auth_ref":  [
                    "r561"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in the amortized amount from a decrease (increase) in the valuation allowance applied to the servicing asset for a contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer.",
                            "label":  "Servicing Asset at Amortized Cost, Valuation Allowance",
                            "terseLabel":  "Valuation allowance"
                            }
                        }
                    },
                "localname":  "ServicingAssetAtAmortizedValueValuationAllowance",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ServicingAssetAtFairValueAdditions":  {
                "auth_ref":  [
                    "r551"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The value of new servicing assets, subsequently measured at fair value, acquired or created during the current period through purchases or from transfers of financial assets.",
                            "label":  "Servicing Asset at Fair Value, Additions",
                            "terseLabel":  "Final purchase accounting entry for FFNM"
                            }
                        }
                    },
                "localname":  "ServicingAssetAtFairValueAdditions",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ServicingAssetAtFairValueAmount":  {
                "auth_ref":  [
                    "r542",
                    "r543",
                    "r544",
                    "r550"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value of an asset representing net future revenue from contractually specified servicing fees, late charges, and other ancillary revenues, in excess of future costs related to servicing arrangements.",
                            "label":  "Servicing Asset at Fair Value, Amount",
                            "periodEndLabel":  "Balance at end of period",
                            "periodStartLabel":  "Balance at beginning of period"
                            }
                        }
                    },
                "localname":  "ServicingAssetAtFairValueAmount",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ServicingAssetAtFairValueAmountRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Servicing Asset at Fair Value, Amount [Roll Forward]",
                            "terseLabel":  "Changes in mortgage servicing rights capitalized and amortized, along with the aggregate activity in related valuation allowances"
                            }
                        }
                    },
                "localname":  "ServicingAssetAtFairValueAmountRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ServicingAssetsAndServicingLiabilitiesAtFairValueAssumptionsUsedToEstimateFairValueDiscountRate":  {
                "auth_ref":  [
                    "r548"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Discount rate used to estimate the fair value of servicing assets and servicing liabilities.",
                            "label":  "Servicing Assets and Servicing Liabilities at Fair Value, Assumptions Used to Estimate Fair Value, Discount Rate",
                            "terseLabel":  "Discount rate (as a percent)"
                            }
                        }
                    },
                "localname":  "ServicingAssetsAndServicingLiabilitiesAtFairValueAssumptionsUsedToEstimateFairValueDiscountRate",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_ServicingAssetsAndServicingLiabilitiesAtFairValueAssumptionsUsedToEstimateFairValuePrepaymentSpeed":  {
                "auth_ref":  [
                    "r548"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Estimated rate of prepayments of principal on servicing assets and servicing liabilities.",
                            "label":  "Servicing Assets and Servicing Liabilities at Fair Value, Assumptions Used to Estimate Fair Value, Prepayment Speed",
                            "terseLabel":  "Annual constant prepayment speed (as a percent)"
                            }
                        }
                    },
                "localname":  "ServicingAssetsAndServicingLiabilitiesAtFairValueAssumptionsUsedToEstimateFairValuePrepaymentSpeed",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_ShareBasedCompensation":  {
                "auth_ref":  [
                    "r80"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  11.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of noncash expense for share-based payment arrangement.",
                            "label":  "Share-based Compensation",
                            "terseLabel":  "Stock compensation",
                            "verboseLabel":  "Increase in capital from stock compensation"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensation",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsCashFlowsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1":  {
                "auth_ref":  [
                    "r396"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.  Includes, but is not limited to, combination of market, performance or service condition.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period",
                            "terseLabel":  "Vesting period"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod":  {
                "auth_ref":  [
                    "r400"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period",
                            "negatedLabel":  "Forfeited during the period (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r405"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Forfeited during the period (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod":  {
                "auth_ref":  [
                    "r403"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period",
                            "verboseLabel":  "Granted during the period (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r403"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Granted during the period (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber":  {
                "auth_ref":  [
                    "r402"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
                            "periodEndLabel":  "Nonvested ending balance (in shares)",
                            "periodStartLabel":  "Nonvested beginning balance (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]",
                            "verboseLabel":  "Summary of nonvested shares"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r402"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement.  Excludes share and unit options.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
                            "periodEndLabel":  "Nonvested ending balance (in dollars per share)",
                            "periodStartLabel":  "Nonvested beginning balance (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]",
                            "terseLabel":  "Weighted Average Grant Date Fair Value"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod":  {
                "auth_ref":  [
                    "r404"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period",
                            "negatedLabel":  "Vested during the period (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r404"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The weighted average fair value as of grant date pertaining to an equity-based award plan other than a stock (or unit) option plan for which the grantee gained the right during the reporting period, by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash in accordance with the terms of the arrangement.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Vested during the period (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]",
                            "terseLabel":  "Stock Compensation Plans"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails",
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized":  {
                "auth_ref":  [
                    "r397"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares authorized for issuance under share-based payment arrangement.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized",
                            "terseLabel":  "Total authorized share balance"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain":  {
                "auth_ref":  [
                    "r393",
                    "r398"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Award under share-based payment arrangement.",
                            "label":  "Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]",
                            "terseLabel":  "Equity Award [Domain]"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy":  {
                "auth_ref":  [
                    "r92",
                    "r395",
                    "r399"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for award under share-based payment arrangement.  Includes, but is not limited to, methodology and assumption used in measuring cost.",
                            "label":  "Share-based Compensation, Option and Incentive Plans Policy [Policy Text Block]",
                            "terseLabel":  "Stock Compensation Plans"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationOptionAndIncentivePlansPolicy",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SharePrice":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Price of a single share of a number of saleable stocks of a company.",
                            "label":  "Share Price",
                            "verboseLabel":  "Market value at grant date (in dollars per share)"
                            }
                        }
                    },
                "localname":  "SharePrice",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareRepurchaseProgramAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by share repurchase program.",
                            "label":  "Share Repurchase Program [Axis]"
                            }
                        }
                    },
                "localname":  "ShareRepurchaseProgramAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareRepurchaseProgramDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the share repurchase program.",
                            "label":  "Share Repurchase Program [Domain]",
                            "terseLabel":  "Share Repurchase Program [Domain]"
                            }
                        }
                    },
                "localname":  "ShareRepurchaseProgramDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SharesOutstanding":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares issued which are neither cancelled nor held in the treasury.",
                            "label":  "Shares, Outstanding",
                            "periodEndLabel":  "Balance (in shares)",
                            "periodStartLabel":  "Balance (in shares)"
                            }
                        }
                    },
                "localname":  "SharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_SignificantAccountingPoliciesTextBlock":  {
                "auth_ref":  [
                    "r100"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for all significant accounting policies of the reporting entity.",
                            "label":  "Significant Accounting Policies [Text Block]",
                            "terseLabel":  "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES"
                            }
                        }
                    },
                "localname":  "SignificantAccountingPoliciesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_StandbyLettersOfCreditMember":  {
                "auth_ref":  [
                    "r279",
                    "r281",
                    "r454",
                    "r682"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "An irrevocable undertaking (typically by a financial institution) to guarantee payment of a specified financial obligation.",
                            "label":  "Standby Letters Of Credit [Member]",
                            "terseLabel":  "Standby letters of credit"
                            }
                        }
                    },
                "localname":  "StandbyLettersOfCreditMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_StatementEquityComponentsAxis":  {
                "auth_ref":  [
                    "r32",
                    "r101",
                    "r102",
                    "r103",
                    "r105",
                    "r111",
                    "r113",
                    "r127",
                    "r225",
                    "r285",
                    "r290",
                    "r409",
                    "r410",
                    "r411",
                    "r439",
                    "r440",
                    "r492",
                    "r493",
                    "r494",
                    "r495",
                    "r496",
                    "r497",
                    "r674",
                    "r675",
                    "r676"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by component of equity.",
                            "label":  "Equity Components [Axis]"
                            }
                        }
                    },
                "localname":  "StatementEquityComponentsAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Statement [Line Items]",
                            "terseLabel":  "Fair Value measurements"
                            }
                        }
                    },
                "localname":  "StatementLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails",
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansTables",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfCashFlowsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS"
                            }
                        }
                    },
                "localname":  "StatementOfCashFlowsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfFinancialPositionAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "CONSOLIDATED BALANCE SHEETS"
                            }
                        }
                    },
                "localname":  "StatementOfFinancialPositionAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "CONSOLIDATED STATEMENTS COMPREHENSIVE INCOME"
                            }
                        }
                    },
                "localname":  "StatementOfIncomeAndComprehensiveIncomeAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfStockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY"
                            }
                        }
                    },
                "localname":  "StatementOfStockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementTable":  {
                "auth_ref":  [
                    "r101",
                    "r102",
                    "r103",
                    "r127",
                    "r571"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
                            "label":  "Statement [Table]"
                            }
                        }
                    },
                "localname":  "StatementTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansTables",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures":  {
                "auth_ref":  [
                    "r14",
                    "r15",
                    "r285",
                    "r290"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares issued during the period related to Restricted Stock Awards, net of any shares forfeited.",
                            "label":  "Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures",
                            "terseLabel":  "Restricted stock award vesting (in shares)",
                            "verboseLabel":  "Stock issued for vested restricted stocks"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureStockCompensationPlansDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures":  {
                "auth_ref":  [
                    "r285",
                    "r290"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Value of stock related to Restricted Stock Awards issued during the period, net of the stock value of such awards forfeited.",
                            "label":  "Stock Issued During Period, Value, Restricted Stock Award, Net of Forfeitures",
                            "terseLabel":  "Restricted stock award vesting"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockRepurchaseProgramAuthorizedAmount1":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of stock repurchase plan authorized.",
                            "label":  "Stock Repurchase Program, Authorized Amount",
                            "verboseLabel":  "Amount authorized to be repurchased"
                            }
                        }
                    },
                "localname":  "StockRepurchaseProgramAuthorizedAmount1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockRepurchasedDuringPeriodShares":  {
                "auth_ref":  [
                    "r14",
                    "r15",
                    "r285",
                    "r290"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares that have been repurchased during the period and have not been retired and are not held in treasury.  Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore.  This element is used when state law does not recognize treasury stock.",
                            "label":  "Stock Repurchased During Period, Shares",
                            "terseLabel":  "Number of shares repurchased",
                            "verboseLabel":  "Repurchased of common stock (in shares)"
                            }
                        }
                    },
                "localname":  "StockRepurchasedDuringPeriodShares",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquityDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockRepurchasedDuringPeriodValue":  {
                "auth_ref":  [
                    "r14",
                    "r15",
                    "r285",
                    "r290"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury.  Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore.  This element is used when state law does not recognize treasury stock.",
                            "label":  "Stock Repurchased During Period, Value",
                            "negatedLabel":  "Repurchased of common stock"
                            }
                        }
                    },
                "localname":  "StockRepurchasedDuringPeriodValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockholdersEquity":  {
                "auth_ref":  [
                    "r15",
                    "r19",
                    "r20",
                    "r94",
                    "r186",
                    "r224",
                    "r490"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LiabilitiesAndStockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent.  The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest).  This excludes temporary equity and is sometimes called permanent equity.",
                            "label":  "Stockholders' Equity Attributable to Parent",
                            "periodEndLabel":  "Balance, end of period",
                            "periodStartLabel":  "Balance, beginning of period",
                            "totalLabel":  "Total shareholders' equity"
                            }
                        }
                    },
                "localname":  "StockholdersEquity",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets",
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Stockholders' Equity Attributable to Parent [Abstract]",
                            "terseLabel":  "SHAREHOLDERS' EQUITY:",
                            "verboseLabel":  "Shareholders' equity:"
                            }
                        }
                    },
                "localname":  "StockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureParentCompanyOnlyFinancialStatementsBalanceSheetsDetails",
                    "http://www.bankmbank.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StockholdersEquityNoteDisclosureTextBlock":  {
                "auth_ref":  [
                    "r93",
                    "r290",
                    "r291"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income.  Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.",
                            "label":  "Stockholders' Equity Note Disclosure [Text Block]",
                            "terseLabel":  "SHAREHOLDERS' EQUITY"
                            }
                        }
                    },
                "localname":  "StockholdersEquityNoteDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureShareholdersEquity"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SubstandardMember":  {
                "auth_ref":  [
                    "r175",
                    "r232"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A category of financing receivables that are inadequately protected by the current sound worth and paying capacity of the obligor or of the collateral pledged, if any.  Loans so classified have a well-defined weakness or weaknesses that jeopardize the liquidation of the debt.  They are characterized by the distinct possibility that the creditor will sustain some loss if the deficiencies are not corrected.",
                            "label":  "Substandard [Member]",
                            "terseLabel":  "Substandard (6)"
                            }
                        }
                    },
                "localname":  "SubstandardMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansInsiderLoansDetails",
                    "http://www.bankmbank.com/role/DisclosureLoansLoansByRiskCategoryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SupplementalCashFlowInformationAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Supplemental Cash Flow Information [Abstract]",
                            "terseLabel":  "Supplemental Cash Flow Information:"
                            }
                        }
                    },
                "localname":  "SupplementalCashFlowInformationAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_TierOneLeverageCapital":  {
                "auth_ref":  [
                    "r645"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of Tier 1 leverage capital as defined by regulatory framework.",
                            "label":  "Tier One Leverage Capital",
                            "terseLabel":  "Tier 1 capital to average assets, Actual Amount"
                            }
                        }
                    },
                "localname":  "TierOneLeverageCapital",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy":  {
                "auth_ref":  [
                    "r645",
                    "r649"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of minimum Tier 1 leverage capital required for capital adequacy as defined by regulatory framework.",
                            "label":  "Tier One Leverage Capital Required for Capital Adequacy",
                            "terseLabel":  "Tier 1 capital to average assets, Minimum for Capital Adequacy Purposes Amount"
                            }
                        }
                    },
                "localname":  "TierOneLeverageCapitalRequiredForCapitalAdequacy",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets":  {
                "auth_ref":  [
                    "r645",
                    "r649"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Ratio of minimum Tier 1 leverage capital to average assets required for capital adequacy as defined by regulatory framework.",
                            "label":  "Tier One Leverage Capital Required for Capital Adequacy to Average Assets",
                            "terseLabel":  "Tier 1 capital to average assets, Minimum for Capital Adequacy Purposes Ratio (as a percent)"
                            }
                        }
                    },
                "localname":  "TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalized":  {
                "auth_ref":  [
                    "r645"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of minimum Tier 1 leverage capital categorized as well capitalized as defined by regulatory framework for prompt corrective action.",
                            "label":  "Tier One Leverage Capital Required to be Well Capitalized",
                            "terseLabel":  "Tier 1 capital to average assets, Action Provisions Amount"
                            }
                        }
                    },
                "localname":  "TierOneLeverageCapitalRequiredToBeWellCapitalized",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalizedToAverageAssets":  {
                "auth_ref":  [
                    "r645"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Ratio of minimum Tier 1 leverage capital to average assets categorized as well capitalized as defined by regulatory framework for prompt corrective action.",
                            "label":  "Tier One Leverage Capital Required to be Well Capitalized to Average Assets",
                            "terseLabel":  "Tier 1 capital to average assets, Action Provisions Ratio (as a percent)"
                            }
                        }
                    },
                "localname":  "TierOneLeverageCapitalRequiredToBeWellCapitalizedToAverageAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "us-gaap_TierOneLeverageCapitalToAverageAssets":  {
                "auth_ref":  [
                    "r645"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Ratio of Tier 1 capital to average assets as defined by regulatory framework.",
                            "label":  "Tier One Leverage Capital to Average Assets",
                            "terseLabel":  "Tier 1 capital to average assets, Actual Ratio (as a percent)"
                            }
                        }
                    },
                "localname":  "TierOneLeverageCapitalToAverageAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "us-gaap_TierOneRiskBasedCapital":  {
                "auth_ref":  [
                    "r645"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of Tier 1 risk-based capital as defined by regulatory framework.",
                            "label":  "Tier One Risk Based Capital",
                            "terseLabel":  "Tier 1 capital to risk weighted assets, Actual Amount"
                            }
                        }
                    },
                "localname":  "TierOneRiskBasedCapital",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy":  {
                "auth_ref":  [
                    "r645",
                    "r649"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of minimum Tier 1 risk-based capital required for capital adequacy as defined by regulatory framework.",
                            "label":  "Tier One Risk Based Capital Required for Capital Adequacy",
                            "terseLabel":  "Tier 1 capital to risk weighted assets, Minimum for Capital Adequacy Purposes Amount"
                            }
                        }
                    },
                "localname":  "TierOneRiskBasedCapitalRequiredForCapitalAdequacy",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets":  {
                "auth_ref":  [
                    "r645",
                    "r649"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Ratio of minimum Tier 1 risk-based capital to risk-weighted assets required for capital adequacy as defined by regulatory framework.",
                            "label":  "Tier One Risk Based Capital Required for Capital Adequacy to Risk Weighted Assets",
                            "terseLabel":  "Tier 1 capital to risk weighted assets, Minimum for Capital Adequacy Purposes Ratio (as a percent)"
                            }
                        }
                    },
                "localname":  "TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalized":  {
                "auth_ref":  [
                    "r645"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of minimum Tier 1 risk-based capital categorized as well capitalized as defined by regulatory framework for prompt corrective action.",
                            "label":  "Tier One Risk Based Capital Required to be Well Capitalized",
                            "terseLabel":  "Tier 1 capital to risk weighted assets, Action Provisions Amount"
                            }
                        }
                    },
                "localname":  "TierOneRiskBasedCapitalRequiredToBeWellCapitalized",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets":  {
                "auth_ref":  [
                    "r645"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Ratio of minimum Tier 1 risk-based capital to risk-weighted assets categorized as well capitalized as defined by regulatory framework for prompt corrective action.",
                            "label":  "Tier One Risk Based Capital Required to be Well Capitalized to Risk Weighted Assets",
                            "terseLabel":  "Tier 1 capital to risk weighted assets, Action Provisions Ratio (as a percent)"
                            }
                        }
                    },
                "localname":  "TierOneRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets":  {
                "auth_ref":  [
                    "r645"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Ratio of Tier 1 risk-based capital to risk-weighted assets as defined by regulatory framework.",
                            "label":  "Tier One Risk Based Capital to Risk Weighted Assets",
                            "terseLabel":  "Tier 1 capital to risk weighted assets, Actual Ratio (as a percent)"
                            }
                        }
                    },
                "localname":  "TierOneRiskBasedCapitalToRiskWeightedAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureRegulatoryMattersDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "us-gaap_TimeDepositMaturitiesAfterYearFive":  {
                "auth_ref":  [
                    "r282"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_TimeDeposits",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of time deposit maturing after fifth fiscal year following current fiscal year.  Time deposit includes, but is not limited to, certificate of deposit.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Time Deposit Maturities, after Year Five",
                            "terseLabel":  "Thereafter"
                            }
                        }
                    },
                "localname":  "TimeDepositMaturitiesAfterYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TimeDepositMaturitiesYearFive":  {
                "auth_ref":  [
                    "r282"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_TimeDeposits",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of time deposit maturing in fifth fiscal year following current fiscal year.  Time deposit includes, but is not limited to, certificate of deposit.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Time Deposit Maturities, Year Five",
                            "terseLabel":  "2025"
                            }
                        }
                    },
                "localname":  "TimeDepositMaturitiesYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TimeDepositMaturitiesYearFour":  {
                "auth_ref":  [
                    "r282"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_TimeDeposits",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of time deposit maturing in fourth fiscal year following current fiscal year.  Time deposit includes, but is not limited to, certificate of deposit.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Time Deposit Maturities, Year Four",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "TimeDepositMaturitiesYearFour",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TimeDepositMaturitiesYearOne":  {
                "auth_ref":  [
                    "r282"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_TimeDeposits",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of time deposit maturing in next fiscal year following current fiscal year.  Time deposit includes, but is not limited to, certificate of deposit.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Time Deposit Maturities, Next Twelve Months",
                            "terseLabel":  "2021"
                            }
                        }
                    },
                "localname":  "TimeDepositMaturitiesYearOne",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TimeDepositMaturitiesYearThree":  {
                "auth_ref":  [
                    "r282"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_TimeDeposits",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of time deposit maturing in third fiscal year following current fiscal year.  Time deposit includes, but is not limited to, certificate of deposit.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Time Deposit Maturities, Year Three",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "TimeDepositMaturitiesYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TimeDepositMaturitiesYearTwo":  {
                "auth_ref":  [
                    "r282"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_TimeDeposits",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of time deposit maturing in second fiscal year following current fiscal year.  Time deposit includes, but is not limited to, certificate of deposit.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Time Deposit Maturities, Year Two",
                            "terseLabel":  "2022"
                            }
                        }
                    },
                "localname":  "TimeDepositMaturitiesYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TimeDeposits":  {
                "auth_ref":  [
                    "r599",
                    "r640"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of time deposit liabilities, including certificates of deposit.",
                            "label":  "Time Deposits",
                            "totalLabel":  "Total"
                            }
                        }
                    },
                "localname":  "TimeDeposits",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TimeDepositsByMaturityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Time Deposits, Fiscal Year Maturity [Abstract]",
                            "terseLabel":  "Maturities of non-brokered time deposits outstanding"
                            }
                        }
                    },
                "localname":  "TimeDepositsByMaturityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureDepositsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_TransferOfOtherRealEstate":  {
                "auth_ref":  [
                    "r88",
                    "r89",
                    "r90"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Value transferred out of real estate owned (REO) in noncash transactions.",
                            "label":  "Real Estate Owned, Transfer from Real Estate Owned",
                            "terseLabel":  "Transfers of Other Real Estate Held for Sale to Fixed Assets"
                            }
                        }
                    },
                "localname":  "TransferOfOtherRealEstate",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TransferToOtherRealEstate":  {
                "auth_ref":  [
                    "r88",
                    "r89",
                    "r90"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Value transferred from mortgage loans to real estate owned (REO) in noncash transactions.",
                            "label":  "Real Estate Owned, Transfer to Real Estate Owned",
                            "verboseLabel":  "Transfers of Foreclosures from Loans to Other Real Estate Held for Sale"
                            }
                        }
                    },
                "localname":  "TransferToOtherRealEstate",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TransfersAndServicingAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "SERVICING RIGHTS"
                            }
                        }
                    },
                "localname":  "TransfersAndServicingAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_TransfersAndServicingOfFinancialAssetsServicingOfFinancialAssetsPolicy":  {
                "auth_ref":  [
                    "r92",
                    "r546",
                    "r549",
                    "r556"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for servicing assets and liabilities including, but not necessarily limited to: (a) how a servicing asset or servicing liability is initially recognized and measured, (b) management's basis for determining its classes of servicing assets and servicing liabilities, (c) where contractually specified fees, late fees or ancillary fees are reported in the statement of income, (d) how the entity subsequently measures each class of servicing assets and servicing liabilities (that is, by using the amortization method or fair value method), and the methodology and significant assumptions used to value such servicing, (e) for those classes subsequently measured using the amortization method, where changes in the carrying amount are reported in the statement of income and how such servicing assets and liabilities are evaluated for impairment, and (f) for those classes subsequently measured at fair value, where changes in the fair value are reported in the statement of income.",
                            "label":  "Transfers and Servicing of Financial Assets, Servicing of Financial Assets, Policy [Policy Text Block]",
                            "terseLabel":  "Servicing Rights"
                            }
                        }
                    },
                "localname":  "TransfersAndServicingOfFinancialAssetsServicingOfFinancialAssetsPolicy",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_TransfersAndServicingOfFinancialAssetsTextBlock":  {
                "auth_ref":  [
                    "r516",
                    "r517",
                    "r522",
                    "r526",
                    "r528",
                    "r529",
                    "r534",
                    "r535",
                    "r538",
                    "r539",
                    "r541",
                    "r545",
                    "r547",
                    "r548",
                    "r549",
                    "r554",
                    "r555",
                    "r563",
                    "r565",
                    "r569"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for a transferor's continuing involvement in financial assets that it has transferred in a securitization or asset-backed financing arrangement, the nature of any restrictions on assets reported by an entity in its statement of financial position that relate to a transferred financial asset (including the carrying amounts of such assets), how servicing assets and servicing liabilities are reported, and (for securitization or asset-backed financing arrangements accounted for as sales) when a transferor has continuing involvement with the transferred financial assets and transfers of financial assets accounted for as secured borrowings, how the transfer of financial assets affects an entity's financial position, financial performance, and cash flows.",
                            "label":  "Transfers and Servicing of Financial Assets [Text Block]",
                            "verboseLabel":  "SERVICING RIGHTS"
                            }
                        }
                    },
                "localname":  "TransfersAndServicingOfFinancialAssetsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureServicingRights"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain":  {
                "auth_ref":  [
                    "r211",
                    "r212",
                    "r516",
                    "r517",
                    "r518",
                    "r519",
                    "r520",
                    "r521",
                    "r523",
                    "r524",
                    "r525",
                    "r530",
                    "r531",
                    "r532",
                    "r533",
                    "r536",
                    "r540",
                    "r550",
                    "r551",
                    "r552",
                    "r553",
                    "r557",
                    "r558",
                    "r559",
                    "r560",
                    "r561",
                    "r562",
                    "r563",
                    "r564",
                    "r566",
                    "r567",
                    "r568"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
                            "label":  "Transfers And Servicing Of Financial Instruments Types Of Financial Instruments [Domain]",
                            "terseLabel":  "Financial Instruments [Domain]"
                            }
                        }
                    },
                "localname":  "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails",
                    "http://www.bankmbank.com/role/DisclosureCommitmentsContingenciesAndCreditRiskDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueLevel3ActivitiesDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleByContractualMaturityDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails",
                    "http://www.bankmbank.com/role/DisclosureServicingRightsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_TypeOfRevenueExtensibleList":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicates type of revenue from product and service.  Includes, but is not limited to, revenue from contract with customer and other sources.",
                            "label":  "Revenue, Product and Service [Extensible List]"
                            }
                        }
                    },
                "localname":  "TypeOfRevenueExtensibleList",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/StatementConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "extensibleListItemType"
                },
            "us-gaap_USGovernmentAgenciesDebtSecuritiesMember":  {
                "auth_ref":  [
                    "r327",
                    "r631"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Debentures, notes, and other debt securities issued by US government agencies, for example, but not limited to, Government National Mortgage Association (GNMA or Ginnie Mae).  Excludes US treasury securities and debt issued by government-sponsored Enterprises (GSEs), for example, but is not limited to, Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac), Federal National Mortgage Association (FNMA or Fannie Mae), and the Federal Home Loan Bank (FHLB).",
                            "label":  "U S Government Agencies Debt Securities [Member]",
                            "terseLabel":  "US Agencies"
                            }
                        }
                    },
                "localname":  "USGovernmentAgenciesDebtSecuritiesMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_USStatesAndPoliticalSubdivisionsMember":  {
                "auth_ref":  [
                    "r327",
                    "r680"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments.  Debt securities issued by state governments may include bond issuances of US state authorities including, for example, but not limited to, housing authorities, dormitory authorities, and general obligations while debt securities issued by political subdivisions of US states would include, for example, debt issuances by county, borough, city, or municipal governments.",
                            "label":  "U S States And Political Subdivisions [Member]",
                            "terseLabel":  "Obligations of states and political subdivisions"
                            }
                        }
                    },
                "localname":  "USStatesAndPoliticalSubdivisionsMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureFairValueDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueLevel3ActivitiesDetails",
                    "http://www.bankmbank.com/role/DisclosureFairValueRecurringDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleDetails",
                    "http://www.bankmbank.com/role/DisclosureSecuritiesAvailableForSaleGrossUnrealizedLossesAndLengthOfTimeInLossPositionDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_UnallocatedFinancingReceivablesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financing receivables that have not been allocated to a portfolio segment.",
                            "label":  "Unallocated Financing Receivables [Member]",
                            "terseLabel":  "Unallocated"
                            }
                        }
                    },
                "localname":  "UnallocatedFinancingReceivablesMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureLoansAllowanceDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_UseOfEstimates":  {
                "auth_ref":  [
                    "r128",
                    "r129",
                    "r130",
                    "r131",
                    "r136",
                    "r137",
                    "r138"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
                            "label":  "Use of Estimates, Policy [Policy Text Block]",
                            "terseLabel":  "Use of Estimates in Preparation of Financial Statements"
                            }
                        }
                    },
                "localname":  "UseOfEstimates",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_VariableRateAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of variable rate.",
                            "label":  "Variable Rate [Axis]"
                            }
                        }
                    },
                "localname":  "VariableRateAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_VariableRateDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
                            "label":  "Variable Rate [Domain]",
                            "terseLabel":  "Variable Rate [Domain]"
                            }
                        }
                    },
                "localname":  "VariableRateDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureBorrowingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment":  {
                "auth_ref":  [
                    "r122"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The sum of dilutive potential common shares or units used in the calculation of the diluted per-share or per-unit computation.",
                            "label":  "Weighted Average Number Diluted Shares Outstanding Adjustment",
                            "terseLabel":  "Effect of restricted stock awards"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberDilutedSharesOutstandingAdjustment",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding":  {
                "auth_ref":  [
                    "r116",
                    "r122"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
                            "label":  "Weighted Average Number of Shares Outstanding, Diluted",
                            "totalLabel":  "Diluted weighted average shares outstanding"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfDilutedSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic":  {
                "auth_ref":  [
                    "r114",
                    "r122"
                    ],
                "calculation":  {
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
                            "label":  "Weighted Average Number of Shares Outstanding, Basic",
                            "verboseLabel":  "Weighted average shares outstanding"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfSharesOutstandingBasic",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.bankmbank.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "sharesItemType"
                }
            },
        "unitCount":  8
        }
    },
"std_ref":  {
    "r0":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "205",
        "URI":  "http://asc.fasb.org/extlink&oid=6359566&loc=d3e326-107755"
        },
    "r1":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-04(Schedule I))",
        "Topic":  "205",
        "URI":  "http://asc.fasb.org/extlink&oid=120391182&loc=d3e5864-122674"
        },
    "r10":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(2))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r100":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/topic&trid=2122369"
        },
    "r101":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "23",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=115929471&loc=d3e21914-107793"
        },
    "r102":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "24",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=115929471&loc=d3e21930-107793"
        },
    "r103":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=115929471&loc=d3e21711-107793"
        },
    "r104":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(2)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794"
        },
    "r105":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(3)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794"
        },
    "r106":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22694-107794"
        },
    "r107":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22694-107794"
        },
    "r108":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22583-107794"
        },
    "r109":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22595-107794"
        },
    "r11":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(22))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r110":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22644-107794"
        },
    "r111":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22644-107794"
        },
    "r112":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22658-107794"
        },
    "r113":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22663-107794"
        },
    "r114":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1448-109256"
        },
    "r115":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1377-109256"
        },
    "r116":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1505-109256"
        },
    "r117":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1252-109256"
        },
    "r118":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=SL5780133-109256"
        },
    "r119":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=SL5780133-109256"
        },
    "r12":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(26)(a))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r120":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=SL5780133-109256"
        },
    "r121":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1337-109256"
        },
    "r122":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
        },
    "r123":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
        },
    "r124":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3630-109257"
        },
    "r125":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=120380238&loc=d3e3842-109258"
        },
    "r126":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "52",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=120380238&loc=d3e4984-109258"
        },
    "r127":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "272",
        "URI":  "http://asc.fasb.org/extlink&oid=6828210&loc=d3e70191-108054"
        },
    "r128":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
        },
    "r129":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
        },
    "r13":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(26)(b))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r130":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
        },
    "r131":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
        },
    "r132":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6327-108592"
        },
    "r133":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
        },
    "r134":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592"
        },
    "r135":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6442-108592"
        },
    "r136":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
        },
    "r137":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
        },
    "r138":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
        },
    "r139":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8672-108599"
        },
    "r14":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(28))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r140":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599"
        },
    "r141":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599"
        },
    "r142":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599"
        },
    "r143":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(g)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599"
        },
    "r144":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599"
        },
    "r145":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599"
        },
    "r146":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8906-108599"
        },
    "r147":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8906-108599"
        },
    "r148":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8906-108599"
        },
    "r149":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8906-108599"
        },
    "r15":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(29))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r150":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "31",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8924-108599"
        },
    "r151":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599"
        },
    "r152":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599"
        },
    "r153":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599"
        },
    "r154":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599"
        },
    "r155":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599"
        },
    "r156":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "40",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e9031-108599"
        },
    "r157":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "41",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e9038-108599"
        },
    "r158":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "42",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e9054-108599"
        },
    "r159":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121593590&loc=d3e4428-111522"
        },
    "r16":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(1))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r160":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121593590&loc=d3e4437-111522"
        },
    "r161":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
        },
    "r162":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
        },
    "r163":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(3)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
        },
    "r164":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(4)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
        },
    "r165":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(g)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
        },
    "r166":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
        },
    "r167":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
        },
    "r168":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953550-111524"
        },
    "r169":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(4)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5212-111524"
        },
    "r17":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(3))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r170":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5212-111524"
        },
    "r171":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(3)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5212-111524"
        },
    "r172":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5212-111524"
        },
    "r173":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5258-111524"
        },
    "r174":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5033-111524"
        },
    "r175":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "29",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953659-111524"
        },
    "r176":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5066-111524"
        },
    "r177":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "33",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953676-111524"
        },
    "r178":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "34",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953682-111524"
        },
    "r179":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "35",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL49126937-111524"
        },
    "r18":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(4))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r180":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5074-111524"
        },
    "r181":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5086-111524"
        },
    "r182":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5111-111524"
        },
    "r183":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5111-111524"
        },
    "r184":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953401-111524"
        },
    "r185":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5144-111524"
        },
    "r186":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 4.E)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707"
        },
    "r187":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 6.L.1)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=27010918&loc=d3e74567-122707"
        },
    "r188":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/subtopic&trid=2196772"
        },
    "r189":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10152-111534"
        },
    "r19":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r190":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "20",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/subtopic&trid=2196816"
        },
    "r191":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "15",
        "SubTopic":  "30",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121585399&loc=d3e13503-111538"
        },
    "r192":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(1)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121614798&loc=d3e15032-111544"
        },
    "r193":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(2)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121614798&loc=d3e15032-111544"
        },
    "r194":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(3)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121614798&loc=d3e15032-111544"
        },
    "r195":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)(1)(ii)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121614798&loc=d3e15032-111544"
        },
    "r196":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "30",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/subtopic&trid=2196854"
        },
    "r197":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121585226&loc=d3e18845-111554"
        },
    "r198":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "40",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/subtopic&trid=2196892"
        },
    "r199":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121553693&loc=d3e26610-111562"
        },
    "r2":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "205",
        "URI":  "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
        },
    "r20":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(31))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r200":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121553693&loc=d3e26853-111562"
        },
    "r201":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563"
        },
    "r202":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(aa)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563"
        },
    "r203":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563"
        },
    "r204":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563"
        },
    "r205":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563"
        },
    "r206":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27198-111563"
        },
    "r207":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27198-111563"
        },
    "r208":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27198-111563"
        },
    "r209":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27198-111563"
        },
    "r21":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(32))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r210":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27198-111563"
        },
    "r211":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27232-111563"
        },
    "r212":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=SL120269820-111563"
        },
    "r213":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27290-111563"
        },
    "r214":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(1)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27290-111563"
        },
    "r215":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(2)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27290-111563"
        },
    "r216":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(3)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27290-111563"
        },
    "r217":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27337-111563"
        },
    "r218":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=SL6284393-111563"
        },
    "r219":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27357-111563"
        },
    "r22":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.1)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r220":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27357-111563"
        },
    "r221":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/topic&trid=2196928"
        },
    "r222":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "323",
        "URI":  "http://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570"
        },
    "r223":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(2)",
        "Topic":  "323",
        "URI":  "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
        },
    "r224":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "323",
        "URI":  "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
        },
    "r225":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121646688&loc=SL121648383-210437"
        },
    "r226":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919244-210447"
        },
    "r227":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447"
        },
    "r228":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919253-210447"
        },
    "r229":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919258-210447"
        },
    "r23":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.12)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r230":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919258-210447"
        },
    "r231":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919272-210447"
        },
    "r232":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919230-210447"
        },
    "r233":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121647567&loc=SL82921830-210448"
        },
    "r234":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121647567&loc=SL82921833-210448"
        },
    "r235":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121647567&loc=SL82921835-210448"
        },
    "r236":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121647567&loc=SL82921835-210448"
        },
    "r237":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(2)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121647567&loc=SL82921835-210448"
        },
    "r238":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121647567&loc=SL82921842-210448"
        },
    "r239":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "79",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121647567&loc=SL82922352-210448"
        },
    "r24":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.13(a))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r240":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "80",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121647567&loc=SL82922355-210448"
        },
    "r241":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/subtopic&trid=82887181"
        },
    "r242":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121558606&loc=SL82898722-210454"
        },
    "r243":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(1)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121582814&loc=SL82922888-210455"
        },
    "r244":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(2)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121582814&loc=SL82922888-210455"
        },
    "r245":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)(3)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121582814&loc=SL82922888-210455"
        },
    "r246":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121582814&loc=SL82922888-210455"
        },
    "r247":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121582814&loc=SL82922890-210455"
        },
    "r248":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121582814&loc=SL82922895-210455"
        },
    "r249":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121582814&loc=SL82922900-210455"
        },
    "r25":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.13)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r250":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456"
        },
    "r251":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/subtopic&trid=82887182"
        },
    "r252":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266"
        },
    "r253":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266"
        },
    "r254":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=120320667&loc=SL49117168-202975"
        },
    "r255":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(e)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
        },
    "r256":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
        },
    "r257":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267"
        },
    "r258":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274"
        },
    "r259":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
        },
    "r26":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.14)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r260":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(d)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
        },
    "r261":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
        },
    "r262":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r263":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(1)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r264":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(2)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r265":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(3)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r266":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(d)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r267":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/topic&trid=2144416"
        },
    "r268":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r269":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r27":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.17)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r270":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r271":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r272":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/topic&trid=2155823"
        },
    "r273":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "440",
        "URI":  "http://asc.fasb.org/extlink&oid=121559207&loc=d3e25336-109308"
        },
    "r274":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "440",
        "URI":  "http://asc.fasb.org/extlink&oid=121559207&loc=d3e25336-109308"
        },
    "r275":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "440",
        "URI":  "http://asc.fasb.org/topic&trid=2144648"
        },
    "r276":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349"
        },
    "r277":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349"
        },
    "r278":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/topic&trid=2127136"
        },
    "r279":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "460",
        "URI":  "http://asc.fasb.org/extlink&oid=121555522&loc=d3e12021-110248"
        },
    "r28":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19(b),22(b))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r280":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(4)",
        "Topic":  "460",
        "URI":  "http://asc.fasb.org/extlink&oid=121555522&loc=d3e12069-110248"
        },
    "r281":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "460",
        "URI":  "http://asc.fasb.org/extlink&oid=121596127&loc=d3e12803-110250"
        },
    "r282":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601"
        },
    "r283":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=6802200&loc=SL6230698-112601"
        },
    "r284":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/topic&trid=2208564"
        },
    "r285":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644"
        },
    "r286":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644"
        },
    "r287":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21506-112644"
        },
    "r288":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21521-112644"
        },
    "r289":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21538-112644"
        },
    "r29":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19-26)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r290":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.3-04)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
        },
    "r291":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/topic&trid=2208762"
        },
    "r292":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=121604090&loc=SL49130543-203045"
        },
    "r293":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=121604090&loc=SL49130545-203045"
        },
    "r294":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=121551570&loc=SL49130690-203046-203046"
        },
    "r295":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "10",
        "Topic":  "710",
        "URI":  "http://asc.fasb.org/extlink&oid=6409733&loc=d3e19524-108361"
        },
    "r296":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "30",
        "SubTopic":  "10",
        "Topic":  "710",
        "URI":  "http://asc.fasb.org/extlink&oid=6409875&loc=d3e20015-108363"
        },
    "r297":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "710",
        "URI":  "http://asc.fasb.org/extlink&oid=6409950&loc=d3e20396-108366"
        },
    "r298":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "710",
        "URI":  "http://asc.fasb.org/topic&trid=2127225"
        },
    "r299":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "15",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "712",
        "URI":  "http://asc.fasb.org/extlink&oid=6410066&loc=d3e79218-111664"
        },
    "r3":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=121566466&loc=d3e6676-107765"
        },
    "r30":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.20)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r300":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "15",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "712",
        "URI":  "http://asc.fasb.org/extlink&oid=6410066&loc=d3e79218-111664"
        },
    "r301":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "712",
        "URI":  "http://asc.fasb.org/topic&trid=2197446"
        },
    "r302":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=109237824&loc=d3e1703-114919"
        },
    "r303":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=109237824&loc=SL108413299-114919"
        },
    "r304":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r305":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(1)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r306":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(10)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r307":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(2)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r308":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(3)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r309":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(4)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r31":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.22)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r310":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(5)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r311":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(6)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r312":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(7)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r313":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(8)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r314":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(9)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r315":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r316":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(1)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r317":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(2)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r318":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(3)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r319":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(4)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r32":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.29-31)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r320":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(5)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r321":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(6)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r322":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(7)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r323":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(8)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r324":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r325":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(5)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r326":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(i)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r327":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(ii)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r328":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iii)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r329":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(01)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r33":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.3,4)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r330":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r331":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)(A)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r332":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)(B)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r333":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)(C)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r334":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(03)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r335":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(e)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r336":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(f)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r337":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r338":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(h)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r339":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(h)(1)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r34":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580"
        },
    "r340":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(h)(2)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r341":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(h)(3)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r342":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(h)(4)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r343":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(h)(5)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r344":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(h)(6)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r345":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(h)(7)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r346":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(i)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r347":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(j)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r348":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(k)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r349":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(k)(1)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r35":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580"
        },
    "r350":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(k)(3)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r351":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(k)(4)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r352":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(l)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r353":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(n)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r354":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(o)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r355":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(p)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r356":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(q)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r357":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(r)(1)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r358":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(r)(2)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r359":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r36":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(i)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580"
        },
    "r360":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2410-114920"
        },
    "r361":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2417-114920"
        },
    "r362":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2439-114920"
        },
    "r363":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
        },
    "r364":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(1)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
        },
    "r365":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(2)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
        },
    "r366":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(3)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
        },
    "r367":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(4)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
        },
    "r368":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(5)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
        },
    "r369":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(6)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
        },
    "r37":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(i-k)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580"
        },
    "r370":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(7)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
        },
    "r371":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
        },
    "r372":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2919-114920"
        },
    "r373":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118257860&loc=d3e4179-114921"
        },
    "r374":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118257860&loc=d3e4587-114921"
        },
    "r375":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=21916913&loc=d3e273930-122802"
        },
    "r376":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "60",
        "Subparagraph":  "(c)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=6414203&loc=d3e39689-114964"
        },
    "r377":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "60",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=6414203&loc=d3e39716-114964"
        },
    "r378":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "70",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942"
        },
    "r379":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "35",
        "SubTopic":  "80",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=29639808&loc=d3e29008-114946"
        },
    "r38":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580"
        },
    "r380":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(a)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
        },
    "r381":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(b)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
        },
    "r382":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(c)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
        },
    "r383":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
        },
    "r384":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(d)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
        },
    "r385":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(f)(3)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
        },
    "r386":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(a)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
        },
    "r387":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(b)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
        },
    "r388":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(c)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
        },
    "r389":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(b)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450691-114947"
        },
    "r39":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=d3e637-108580"
        },
    "r390":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "80",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
        },
    "r391":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/topic&trid=2235017"
        },
    "r392":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "35",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=121326096&loc=d3e4534-113899"
        },
    "r393":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
        },
    "r394":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
        },
    "r395":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
        },
    "r396":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r397":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(3)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r398":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a),(g)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r399":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b),(f)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r4":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=121566466&loc=d3e6812-107765"
        },
    "r40":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=d3e681-108580"
        },
    "r400":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iv)(3)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r401":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r402":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(i)-(ii)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r403":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r404":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r405":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)(3)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r406":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(1)(i)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r407":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(i)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r408":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r409":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
        },
    "r41":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669686-108580"
        },
    "r410":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
        },
    "r411":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
        },
    "r412":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(g)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
        },
    "r413":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 14.F)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=115993241&loc=d3e301413-122809"
        },
    "r414":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120383193&loc=d3e11149-113907"
        },
    "r415":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120383193&loc=d3e11178-113907"
        },
    "r416":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/topic&trid=2228938"
        },
    "r417":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "35",
        "Subparagraph":  "(b)",
        "Topic":  "720",
        "URI":  "http://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848"
        },
    "r418":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=120406818&loc=d3e32059-109318"
        },
    "r419":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=120406818&loc=d3e32247-109318"
        },
    "r42":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=d3e689-108580"
        },
    "r420":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=120406818&loc=d3e32280-109318"
        },
    "r421":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=120406818&loc=d3e31917-109318"
        },
    "r422":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=120406818&loc=d3e31931-109318"
        },
    "r423":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32672-109319"
        },
    "r424":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32687-109319"
        },
    "r425":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32705-109319"
        },
    "r426":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32809-109319"
        },
    "r427":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "19",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32840-109319"
        },
    "r428":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319"
        },
    "r429":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319"
        },
    "r43":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL34724391-108580"
        },
    "r430":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319"
        },
    "r431":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32847-109319"
        },
    "r432":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32857-109319"
        },
    "r433":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32559-109319"
        },
    "r434":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32621-109319"
        },
    "r435":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32632-109319"
        },
    "r436":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319"
        },
    "r437":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319"
        },
    "r438":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319"
        },
    "r439":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(2)",
        "Topic":  "740"
        },
    "r44":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL34724394-108580"
        },
    "r440":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(3)",
        "Topic":  "740"
        },
    "r441":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB TOPIC 6.I.5.Q1)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116825942&loc=d3e330036-122817"
        },
    "r442":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB TOPIC 6.I.7)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116825942&loc=d3e330036-122817"
        },
    "r443":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 6.I.7)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116825942&loc=d3e330036-122817"
        },
    "r444":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 6.I.Fact.1)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116825942&loc=d3e330036-122817"
        },
    "r445":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 6.I.Fact.2)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116825942&loc=d3e330036-122817"
        },
    "r446":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 11.C)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116825942&loc=d3e330215-122817"
        },
    "r447":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=120385591&loc=d3e38679-109324"
        },
    "r448":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "270",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338"
        },
    "r449":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331"
        },
    "r45":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669619-108580"
        },
    "r450":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/topic&trid=2144680"
        },
    "r451":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
        },
    "r452":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
        },
    "r453":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=121598580&loc=d3e5333-128473"
        },
    "r454":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "15",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=116873149&loc=d3e923-111674"
        },
    "r455":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=108774443&loc=d3e5283-111683"
        },
    "r456":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "19",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=108774443&loc=SL4569616-111683"
        },
    "r457":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=108774443&loc=SL4569643-111683"
        },
    "r458":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
        },
    "r459":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
        },
    "r46":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669619-108580"
        },
    "r460":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684"
        },
    "r461":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(1)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r462":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r463":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(3)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r464":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c),(3)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r465":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bb)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=121559654&loc=d3e5710-111685"
        },
    "r466":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=121559654&loc=d3e5710-111685"
        },
    "r467":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4J",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
        },
    "r468":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4K",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686"
        },
    "r469":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4K",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(4)",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=121590274&loc=SL5708775-113959"
        },
    "r47":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669619-108580"
        },
    "r470":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r471":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r472":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bb)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r473":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r474":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)(1)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r475":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)(2)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r476":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r477":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r478":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r479":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r48":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669625-108580"
        },
    "r480":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19279-110258"
        },
    "r481":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=SL6742756-110258"
        },
    "r482":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=SL6742756-110258"
        },
    "r483":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=116690757&loc=d3e13220-108610"
        },
    "r484":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13433-108611"
        },
    "r485":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13467-108611"
        },
    "r486":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13476-108611"
        },
    "r487":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13531-108611"
        },
    "r488":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13537-108611"
        },
    "r489":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13537-108611"
        },
    "r49":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669625-108580"
        },
    "r490":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612"
        },
    "r491":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "230",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=98513438&loc=d3e33268-110906"
        },
    "r492":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
        },
    "r493":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r494":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(b)",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r495":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(c)",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r496":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(d)",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r497":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
        },
    "r498":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
        },
    "r499":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=119993939&loc=d3e28541-108399"
        },
    "r5":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(1))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r50":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=d3e557-108580"
        },
    "r500":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399"
        },
    "r501":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=119993939&loc=d3e28555-108399"
        },
    "r502":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
        },
    "r503":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "840",
        "URI":  "http://asc.fasb.org/extlink&oid=121616839&loc=d3e45280-112737"
        },
    "r504":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(4)",
        "Topic":  "840",
        "URI":  "http://asc.fasb.org/extlink&oid=121568338&loc=d3e45377-112738"
        },
    "r505":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=121603541&loc=SL77918627-209977"
        },
    "r506":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=121603541&loc=SL77918631-209977"
        },
    "r507":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=121603541&loc=SL77918638-209977"
        },
    "r508":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=121609121&loc=SL77918686-209980"
        },
    "r509":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=121609121&loc=SL77918701-209980"
        },
    "r51":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116657188&loc=SL116659661-227067"
        },
    "r510":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "53",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=121568110&loc=SL77918982-209971"
        },
    "r511":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/subtopic&trid=77888251"
        },
    "r512":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
        },
    "r513":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
        },
    "r514":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
        },
    "r515":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "855",
        "URI":  "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662"
        },
    "r516":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(2)(i)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r517":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(2)(ii)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r518":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r519":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(1)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r52":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(210.5-03(11))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r520":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r521":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r522":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r523":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(1)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r524":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r525":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r526":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(cc)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r527":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r528":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(5)(ii)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r529":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r53":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(1))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r530":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(1)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r531":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r532":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r533":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r534":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r535":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4D",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=SL51823488-111719"
        },
    "r536":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728"
        },
    "r537":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)(1)(i)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729"
        },
    "r538":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729"
        },
    "r539":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(c)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729"
        },
    "r54":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(12))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r540":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729"
        },
    "r541":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(c)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729"
        },
    "r542":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "50",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=6469459&loc=d3e122492-111745"
        },
    "r543":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "50",
        "Subparagraph":  "(a)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=6469459&loc=d3e122501-111745"
        },
    "r544":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "50",
        "Subparagraph":  "(b)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=6469459&loc=d3e122501-111745"
        },
    "r545":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122596-111746"
        },
    "r546":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a),(c)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122596-111746"
        },
    "r547":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(b)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122596-111746"
        },
    "r548":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(d)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122596-111746"
        },
    "r549":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
        },
    "r55":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(20))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r550":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(1)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
        },
    "r551":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
        },
    "r552":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
        },
    "r553":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(4)(i)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
        },
    "r554":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(4)(ii)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
        },
    "r555":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(5)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
        },
    "r556":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
        },
    "r557":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(1)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
        },
    "r558":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
        },
    "r559":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
        },
    "r56":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(24))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r560":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(4)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
        },
    "r561":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(5)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
        },
    "r562":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(6)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
        },
    "r563":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(7)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
        },
    "r564":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(b)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
        },
    "r565":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(d)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
        },
    "r566":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(e)(1)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
        },
    "r567":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(e)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
        },
    "r568":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(e)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
        },
    "r569":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/topic&trid=2197590"
        },
    "r57":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(25))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r570":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "910",
        "URI":  "http://asc.fasb.org/extlink&oid=119991564&loc=SL119991595-234733"
        },
    "r571":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 11.L)",
        "Topic":  "924",
        "URI":  "http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
        },
    "r572":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "926",
        "URI":  "http://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959"
        },
    "r573":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "340",
        "Topic":  "928",
        "URI":  "http://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004"
        },
    "r574":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61929-109447"
        },
    "r575":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61929-109447"
        },
    "r576":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62059-109447"
        },
    "r577":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62059-109447"
        },
    "r578":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62395-109447"
        },
    "r579":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62395-109447"
        },
    "r58":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(b)(4))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r580":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "33",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62479-109447"
        },
    "r581":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "33",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62479-109447"
        },
    "r582":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "35A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=SL6807758-109447"
        },
    "r583":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "35A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=SL6807758-109447"
        },
    "r584":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(c)(1)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61872-109447"
        },
    "r585":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(c)(2)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61872-109447"
        },
    "r586":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "320",
        "Topic":  "940",
        "URI":  "http://asc.fasb.org/subtopic&trid=2176304"
        },
    "r587":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "210",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=117340910&loc=d3e59706-112781"
        },
    "r588":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(1)(a))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r589":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(1))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r59":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.4,6)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r590":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(10)(1))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r591":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(10))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r592":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(11))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r593":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(15)(2))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r594":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(16))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r595":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(23))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r596":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(6))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r597":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(7)(e)(1)(i))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r598":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.10(4))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r599":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.12)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r6":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(12))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r60":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.6)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r600":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.13(1))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r601":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.13(3)(a))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r602":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.13,16)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r603":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.15)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r604":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.2)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r605":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.3)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r606":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.4)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r607":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.7(e))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r608":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.7)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r609":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(13)(f))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r61":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3151-108585"
        },
    "r610":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(22))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r611":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(26))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r612":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(27))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r613":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.1)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r614":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.1-5)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r615":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.10)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r616":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.11)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r617":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.12)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r618":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.13(h))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r619":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.13)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r62":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3179-108585"
        },
    "r620":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.14(b))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r621":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.14(d))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r622":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.14)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r623":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.2)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r624":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.4)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r625":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.6)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r626":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.7,8)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r627":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.9)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r628":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "230",
        "Subparagraph":  "(b)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=121551529&loc=d3e60009-112784"
        },
    "r629":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "230",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=121551529&loc=d3e60009-112784"
        },
    "r63":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3179-108585"
        },
    "r630":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "235",
        "Subparagraph":  "(SX 210.9-05(b)(2))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
        },
    "r631":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "320",
        "Subparagraph":  "(b)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120252992&loc=d3e62557-112803"
        },
    "r632":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "320",
        "Subparagraph":  "(a)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120252992&loc=SL120269850-112803"
        },
    "r633":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "320",
        "Subparagraph":  "(b)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120252992&loc=SL120269850-112803"
        },
    "r634":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "320",
        "Subparagraph":  "(c)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120252992&loc=SL120269850-112803"
        },
    "r635":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "320",
        "Subparagraph":  "(d)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120252992&loc=SL120269850-112803"
        },
    "r636":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "320",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120252992&loc=d3e62652-112803"
        },
    "r637":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "320",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/subtopic&trid=2209399"
        },
    "r638":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "325",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=75031641&loc=d3e63345-112809"
        },
    "r639":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "405",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817"
        },
    "r64":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3179-108585"
        },
    "r640":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "405",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=116652737&loc=d3e64164-112818"
        },
    "r641":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "470",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823"
        },
    "r642":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "505",
        "Subparagraph":  "(a)(1)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826"
        },
    "r643":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "505",
        "Subparagraph":  "(a)(2)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826"
        },
    "r644":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "505",
        "Subparagraph":  "(b)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826"
        },
    "r645":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "505",
        "Subparagraph":  "(c)(1)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826"
        },
    "r646":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "505",
        "Subparagraph":  "(c)(2)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826"
        },
    "r647":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "505",
        "Subparagraph":  "(e)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826"
        },
    "r648":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "505",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958569-112826"
        },
    "r649":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "505",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958570-112826"
        },
    "r65":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3213-108585"
        },
    "r650":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1D",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "505",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958573-112826"
        },
    "r651":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1F",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "505",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958575-112826"
        },
    "r652":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(15)(b)(2))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r653":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(16))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r654":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(1)(b))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r655":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(10))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r656":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(12))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r657":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(2))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r658":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(23)(a)(3))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r659":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(23)(a)(4))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r66":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3213-108585"
        },
    "r660":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(25))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r661":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(8))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r662":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03.16)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r663":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(10))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r664":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(18))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r665":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(22))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r666":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(23))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r667":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(3)(b))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r668":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(9))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r669":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04.3(a))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r67":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3213-108585"
        },
    "r670":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04.4)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r671":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04.7)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r672":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Subparagraph":  "(d)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121643868&loc=SL117782755-158439"
        },
    "r673":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "29F",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121639165&loc=SL117819544-158441"
        },
    "r674":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(e)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
        },
    "r675":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(f)(1)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
        },
    "r676":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(f)(2)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
        },
    "r677":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(g)(2)(i)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
        },
    "r678":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(g)(2)(ii)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
        },
    "r679":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(h)(2)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
        },
    "r68":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3213-108585"
        },
    "r680":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(e)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121641442&loc=d3e19393-158473"
        },
    "r681":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "825",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=99380617&loc=SL75241803-196195"
        },
    "r682":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "946",
        "URI":  "http://asc.fasb.org/extlink&oid=66023616&loc=SL35737432-115832"
        },
    "r683":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "220",
        "Subparagraph":  "(k)",
        "Topic":  "946",
        "URI":  "http://asc.fasb.org/extlink&oid=118262090&loc=SL114874205-224268"
        },
    "r684":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.6-07.2(a),(b),(c),(d))",
        "Topic":  "946",
        "URI":  "http://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272"
        },
    "r685":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "320",
        "Subparagraph":  "(SX 210.12-15(Column B))",
        "Topic":  "946",
        "URI":  "http://asc.fasb.org/extlink&oid=120401592&loc=d3e611379-123010"
        },
    "r686":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "320",
        "Subparagraph":  "(SX 210.12-15(Column C))",
        "Topic":  "946",
        "URI":  "http://asc.fasb.org/extlink&oid=120401592&loc=d3e611379-123010"
        },
    "r687":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "320",
        "Subparagraph":  "(SX 210.12-15(Column D))",
        "Topic":  "946",
        "URI":  "http://asc.fasb.org/extlink&oid=120401592&loc=d3e611379-123010"
        },
    "r688":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "320",
        "Topic":  "946",
        "URI":  "http://asc.fasb.org/subtopic&trid=2324412"
        },
    "r689":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)",
        "Topic":  "948",
        "URI":  "http://asc.fasb.org/extlink&oid=6490092&loc=d3e47080-110998"
        },
    "r69":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585"
        },
    "r690":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "948",
        "URI":  "http://asc.fasb.org/extlink&oid=6490092&loc=d3e47304-110998"
        },
    "r691":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "740",
        "Topic":  "954",
        "URI":  "http://asc.fasb.org/extlink&oid=6491622&loc=d3e9504-115650"
        },
    "r692":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "360",
        "Subparagraph":  "(d)",
        "Topic":  "958",
        "URI":  "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99779-112916"
        },
    "r693":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "360",
        "Topic":  "958",
        "URI":  "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99893-112916"
        },
    "r694":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "360",
        "Topic":  "958",
        "URI":  "http://asc.fasb.org/extlink&oid=120429125&loc=SL120174063-112916"
        },
    "r695":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Footnote 4))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r696":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "b"
        },
    "r697":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "d1-1"
        },
    "r698":  {
        "Name":  "Form 10-K",
        "Number":  "249",
        "Publisher":  "SEC",
        "Section":  "310"
        },
    "r699":  {
        "Name":  "Form 20-F",
        "Number":  "249",
        "Publisher":  "SEC",
        "Section":  "220",
        "Subsection":  "f"
        },
    "r7":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(13))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r70":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585"
        },
    "r700":  {
        "Name":  "Form 40-F",
        "Number":  "249",
        "Publisher":  "SEC",
        "Section":  "240",
        "Subsection":  "f"
        },
    "r701":  {
        "Name":  "Forms 10-K, 10-Q, 20-F",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "13",
        "Subsection":  "a-1"
        },
    "r702":  {
        "Name":  "Regulation 12B",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "b-2"
        },
    "r703":  {
        "Name":  "Regulation S-T",
        "Number":  "232",
        "Publisher":  "SEC",
        "Section":  "405"
        },
    "r704":  {
        "Footnote":  "4",
        "Name":  "Regulation S-X (SX)",
        "Number":  "210",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "28"
        },
    "r705":  {
        "Name":  "Regulation S-X (SX)",
        "Number":  "210",
        "Paragraph":  "a",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "04"
        },
    "r706":  {
        "Name":  "Regulation S-X (SX)",
        "Number":  "210",
        "Paragraph":  "i",
        "Publisher":  "SEC",
        "Section":  "3",
        "Subsection":  "10"
        },
    "r707":  {
        "Name":  "Regulation S-X (SX)",
        "Number":  "210",
        "Paragraph":  "c",
        "Publisher":  "SEC",
        "Section":  "5",
        "Subparagraph":  "Schedule I",
        "Subsection":  "04"
        },
    "r708":  {
        "Name":  "Regulation S-X (SX)",
        "Number":  "210",
        "Paragraph":  "c",
        "Publisher":  "SEC",
        "Section":  "7",
        "Subparagraph":  "Schedule II",
        "Subsection":  "05"
        },
    "r709":  {
        "Name":  "Regulation S-X (SX)",
        "Number":  "210",
        "Publisher":  "SEC",
        "Section":  "9",
        "Subsection":  "06"
        },
    "r71":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585"
        },
    "r72":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3337-108585"
        },
    "r73":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3367-108585"
        },
    "r74":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3000-108585"
        },
    "r75":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3461-108585"
        },
    "r76":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "24",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3521-108585"
        },
    "r77":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3536-108585"
        },
    "r78":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3536-108585"
        },
    "r79":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3536-108585"
        },
    "r8":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(14))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r80":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585"
        },
    "r81":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585"
        },
    "r82":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585"
        },
    "r83":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3044-108585"
        },
    "r84":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3095-108585"
        },
    "r85":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3098-108585"
        },
    "r86":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121583591&loc=d3e4273-108586"
        },
    "r87":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121583591&loc=d3e4297-108586"
        },
    "r88":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121583591&loc=d3e4304-108586"
        },
    "r89":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121583591&loc=d3e4313-108586"
        },
    "r9":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(17))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r90":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121583591&loc=d3e4332-108586"
        },
    "r91":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121583591&loc=SL98516268-108586"
        },
    "r92":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790"
        },
    "r93":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(e)(1))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r94":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(g)(1)(ii))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r95":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(h))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r96":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08.(e),(f))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r97":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08.(h)(1)(i))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r98":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.12-04(a))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
        },
    "r99":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.12-04.(a))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
        }
    },
"version":  "2.1"
}


4 Subsequent Filings that Reference this Filing

  As Of               Filer                 Filing    For·On·As Docs:Size             Issuer                      Filing Agent

 6/09/21  Mackinac Financial Corp./MI       DEFM14A                1:4.2M                                   Toppan Merrill/FA
 6/09/21  Nicolet Bankshares Inc.           424B3                  1:3.1M                                   Toppan Merrill/FA
 6/01/21  Nicolet Bankshares Inc.           S-4/A                  6:6.4M                                   Toppan Merrill/FA
 5/19/21  Nicolet Bankshares Inc.           S-4                    7:3.1M                                   Toppan Merrill/FA


8 Previous Filings that this Filing References

  As Of               Filer                 Filing    For·On·As Docs:Size             Issuer                      Filing Agent

10/01/18  Mackinac Financial Corp./MI       8-K:8,9    10/01/18    2:43K                                    Toppan Merrill/FA
 5/18/18  Mackinac Financial Corp./MI       8-K:2,8,9   5/18/18    2:57K                                    Toppan Merrill/FA
 3/15/18  Mackinac Financial Corp./MI       10-K       12/31/17  105:28M                                    Toppan Merrill Bridge/FA
 2/13/18  Mackinac Financial Corp./MI       8-K:1,9     2/08/18    2:48K                                    Toppan Merrill/FA
 1/19/18  Mackinac Financial Corp./MI       425                    2:630K Mackinac Financial Corp./MI       Toppan Merrill-FA
 3/24/14  Mackinac Financial Corp./MI       8-K:1,5,9   3/18/14    3:209K                                   Toppan Merrill/FA
 4/25/12  Mackinac Financial Corp./MI       DEF 14A     5/22/12    1:568K                                   Donnelley … Solutions/FA
 3/31/09  Mackinac Financial Corp./MI       10-K       12/31/08   11:1.9M                                   Bowne BCL/FA
Top
Filing Submission 0001558370-21-002868   –   Alternative Formats (Word / Rich Text, HTML, Plain Text, et al.)

Copyright © 2024 Fran Finnegan & Company LLC – All Rights Reserved.
AboutPrivacyRedactionsHelp — Mon., May 13, 5:13:13.8pm ET