{
 "instance": {
  "mbwm20230331_10q.htm": {
   "axisCustom": 0,
   "axisStandard": 32,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2023": 1718,
    "http://xbrl.sec.gov/dei/2023": 29
   },
   "contextCount": 454,
   "dts": {
    "calculationLink": {
     "local": [
      "mbwm-20230331_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "mbwm-20230331_def.xml"
     ]
    },
    "inline": {
     "local": [
      "mbwm20230331_10q.htm"
     ]
    },
    "labelLink": {
     "local": [
      "mbwm-20230331_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "mbwm-20230331_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "mbwm-20230331.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "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://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2022-03-31/types.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-roles-2023.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-types-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-roles-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-types-2023.xsd",
      "https://xbrl.sec.gov/country/2023/country-2023.xsd",
      "https://xbrl.sec.gov/currency/2023/currency-2023.xsd",
      "https://xbrl.sec.gov/dei/2023/dei-2023.xsd",
      "https://xbrl.sec.gov/exch/2023/exch-2023.xsd",
      "https://xbrl.sec.gov/naics/2023/naics-2023.xsd",
      "https://xbrl.sec.gov/sic/2023/sic-2023.xsd",
      "https://xbrl.sec.gov/stpr/2023/stpr-2023.xsd"
     ]
    }
   },
   "elementCount": 611,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2023": 36,
    "http://xbrl.sec.gov/dei/2023": 6,
    "total": 42
   },
   "keyCustom": 67,
   "keyStandard": 327,
   "memberCustom": 35,
   "memberStandard": 48,
   "nsprefix": "mbwm",
   "nsuri": "http://www.mercbank.com/20230331",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "000 - Document - Document And Entity Information",
     "menuCat": "Cover",
     "order": "1",
     "role": "http://www.mercbank.com/20230331/role/statement-document-and-entity-information",
     "shortName": "Document And Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "009 - Disclosure - Note 2 - Securities",
     "menuCat": "Notes",
     "order": "10",
     "role": "http://www.mercbank.com/20230331/role/statement-note-2-securities",
     "shortName": "Note 2 - Securities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "010 - Disclosure - Note 3 - Loans and Allowance for Credit Losses",
     "menuCat": "Notes",
     "order": "11",
     "role": "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
     "shortName": "Note 3 - Loans and Allowance for Credit Losses",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "011 - Disclosure - Note 4 - Premises and Equipment, Net",
     "menuCat": "Notes",
     "order": "12",
     "role": "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net",
     "shortName": "Note 4 - Premises and Equipment, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "012 - Disclosure - Note 5 - Deposits",
     "menuCat": "Notes",
     "order": "13",
     "role": "http://www.mercbank.com/20230331/role/statement-note-5-deposits",
     "shortName": "Note 5 - Deposits",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "013 - Disclosure - Note 6 - Securities Sold Under Agreements to Repurchase",
     "menuCat": "Notes",
     "order": "14",
     "role": "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase",
     "shortName": "Note 6 - Securities Sold Under Agreements to Repurchase",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "014 - Disclosure - Note 7 - Federal Home Loan Bank of Indianapolis Advances",
     "menuCat": "Notes",
     "order": "15",
     "role": "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
     "shortName": "Note 7 - Federal Home Loan Bank of Indianapolis Advances",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsContingenciesAndGuaranteesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "015 - Disclosure - Note 8 - Commitments and Off-balance Sheet Risk",
     "menuCat": "Notes",
     "order": "16",
     "role": "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk",
     "shortName": "Note 8 - Commitments and Off-balance Sheet Risk",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsContingenciesAndGuaranteesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "016 - Disclosure - Note 9 - Derivatives and Hedging Activities",
     "menuCat": "Notes",
     "order": "17",
     "role": "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities",
     "shortName": "Note 9 - Derivatives and Hedging Activities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "017 - Disclosure - Note 10 - Fair Values of Financial Instruments",
     "menuCat": "Notes",
     "order": "18",
     "role": "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments",
     "shortName": "Note 10 - Fair Values of Financial Instruments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "018 - Disclosure - Note 11 - Fair Values",
     "menuCat": "Notes",
     "order": "19",
     "role": "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
     "shortName": "Note 11 - Fair Values",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "001 - Statement - Consolidated Balance Sheets (Current Period Unaudited)",
     "menuCat": "Statements",
     "order": "2",
     "role": "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited",
     "shortName": "Consolidated Balance Sheets (Current Period Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "019 - Disclosure - Note 12 - Regulatory Matters",
     "menuCat": "Notes",
     "order": "20",
     "role": "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters",
     "shortName": "Note 12 - Regulatory Matters",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "020 - Disclosure - Note 13 - Subsequent Events",
     "menuCat": "Notes",
     "order": "21",
     "role": "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events",
     "shortName": "Note 13 - Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "021 - Disclosure - Significant Accounting Policies (Policies)",
     "menuCat": "Policies",
     "order": "22",
     "role": "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies",
     "shortName": "Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:RevenueFromContractWithCustomerPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "022 - Disclosure - Note 1 - Significant Accounting Policies (Tables)",
     "menuCat": "Tables",
     "order": "23",
     "role": "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-tables",
     "shortName": "Note 1 - Significant Accounting Policies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:RevenueFromContractWithCustomerPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "023 - Disclosure - Note 2 - Securities (Tables)",
     "menuCat": "Tables",
     "order": "24",
     "role": "http://www.mercbank.com/20230331/role/statement-note-2-securities-tables",
     "shortName": "Note 2 - Securities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "024 - Disclosure - Note 3 - Loans and Allowance for Credit Losses (Tables)",
     "menuCat": "Tables",
     "order": "25",
     "role": "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-tables",
     "shortName": "Note 3 - Loans and Allowance for Credit Losses (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "025 - Disclosure - Note 4 - Premises and Equipment, Net (Tables)",
     "menuCat": "Tables",
     "order": "26",
     "role": "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-tables",
     "shortName": "Note 4 - Premises and Equipment, Net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mbwm:SummaryOfDepositsAndPercentageChangeInDepositsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "026 - Disclosure - Note 5 - Deposits (Tables)",
     "menuCat": "Tables",
     "order": "27",
     "role": "http://www.mercbank.com/20230331/role/statement-note-5-deposits-tables",
     "shortName": "Note 5 - Deposits (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mbwm:SummaryOfDepositsAndPercentageChangeInDepositsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRepurchaseAgreements",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "027 - Disclosure - Note 6 - Securities Sold Under Agreements to Repurchase (Tables)",
     "menuCat": "Tables",
     "order": "28",
     "role": "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-tables",
     "shortName": "Note 6 - Securities Sold Under Agreements to Repurchase (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRepurchaseAgreements",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FederalHomeLoanBankAdvancesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31_LongtermDebtTypeAxis-AmortizingAdvancesMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mbwm:MaturitiesOfCurrentlyOutstandingFhlbAdvancesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "028 - Disclosure - Note 7 - Federal Home Loan Bank of Indianapolis Advances (Tables)",
     "menuCat": "Tables",
     "order": "29",
     "role": "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-tables",
     "shortName": "Note 7 - Federal Home Loan Bank of Indianapolis Advances (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FederalHomeLoanBankAdvancesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31_LongtermDebtTypeAxis-AmortizingAdvancesMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mbwm:MaturitiesOfCurrentlyOutstandingFhlbAdvancesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": null,
     "groupType": "statement",
     "isDefault": "false",
     "longName": "002 - Statement - Consolidated Balance Sheets (Current Period Unaudited) (Parentheticals)",
     "menuCat": "Statements",
     "order": "3",
     "role": "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
     "shortName": "Consolidated Balance Sheets (Current Period Unaudited) (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CommitmentsContingenciesAndGuaranteesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mbwm:SummaryOfContractualAmountsOfFinancialInstrumentsWithOffBalanceSheetRiskTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "029 - Disclosure - Note 8 - Commitments and Off-balance Sheet Risk (Tables)",
     "menuCat": "Tables",
     "order": "30",
     "role": "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-tables",
     "shortName": "Note 8 - Commitments and Off-balance Sheet Risk (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:CommitmentsContingenciesAndGuaranteesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mbwm:SummaryOfContractualAmountsOfFinancialInstrumentsWithOffBalanceSheetRiskTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "030 - Disclosure - Note 9 - Derivatives and Hedging Activities (Tables)",
     "menuCat": "Tables",
     "order": "31",
     "role": "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-tables",
     "shortName": "Note 9 - Derivatives and Hedging Activities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "031 - Disclosure - Note 10 - Fair Values of Financial Instruments (Tables)",
     "menuCat": "Tables",
     "order": "32",
     "role": "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-tables",
     "shortName": "Note 10 - Fair Values of Financial Instruments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "032 - Disclosure - Note 11 - Fair Values (Tables)",
     "menuCat": "Tables",
     "order": "33",
     "role": "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-tables",
     "shortName": "Note 11 - Fair Values (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "033 - Disclosure - Note 12 - Regulatory Matters (Tables)",
     "menuCat": "Tables",
     "order": "34",
     "role": "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-tables",
     "shortName": "Note 12 - Regulatory Matters (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "mbwm:NumberOfUnconsolidatedBusinessTrustsFormedToIssueTrustPreferredSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "034 - Disclosure - Note 1 - Significant Accounting Policies (Details Textual)",
     "menuCat": "Details",
     "order": "35",
     "role": "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
     "shortName": "Note 1 - Significant Accounting Policies (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "mbwm:NumberOfUnconsolidatedBusinessTrustsFormedToIssueTrustPreferredSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31_ProductOrServiceAxis-ServiceChargesOnDepositAndSweepAccountsMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "035 - Disclosure - Note 1 - Significant Accounting Policies - Noninterest Income (Details)",
     "menuCat": "Details",
     "order": "36",
     "role": "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-noninterest-income-details",
     "shortName": "Note 1 - Significant Accounting Policies - Noninterest Income (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock",
       "us-gaap:RevenueFromContractWithCustomerPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31_ProductOrServiceAxis-PayrollProcessingMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "036 - Disclosure - Note 2 - Securities (Details Textual)",
     "menuCat": "Details",
     "order": "37",
     "role": "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual",
     "shortName": "Note 2 - Securities (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:DebtSecuritiesAvailableForSaleTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "037 - Disclosure - Note 2 - Securities - Available-for-sale Securities (Details)",
     "menuCat": "Details",
     "order": "38",
     "role": "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details",
     "shortName": "Note 2 - Securities - Available-for-sale Securities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:DebtSecuritiesAvailableForSaleTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "038 - Disclosure - Note 2 - Securities - Securities in a Continuous Loss Position (Details)",
     "menuCat": "Details",
     "order": "39",
     "role": "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details",
     "shortName": "Note 2 - Securities - Securities in a Continuous Loss Position (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "003 - Statement - Consolidated Statements of Income (Unaudited)",
     "menuCat": "Statements",
     "order": "4",
     "role": "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited",
     "shortName": "Consolidated Statements of Income (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "mbwm:WeightedAverageYieldOfSecuritiesPortfolioDueInOneYearOrLess",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "039 - Disclosure - Note 2 - Securities - Debt Securities by Maturity (Details)",
     "menuCat": "Details",
     "order": "40",
     "role": "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details",
     "shortName": "Note 2 - Securities - Debt Securities by Maturity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "mbwm:WeightedAverageYieldOfSecuritiesPortfolioDueInOneYearOrLess",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesReceivableGross",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "040 - Disclosure - Note 3 - Loans and Allowance for Credit Losses (Details Textual)",
     "menuCat": "Details",
     "order": "41",
     "role": "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
     "shortName": "Note 3 - Loans and Allowance for Credit Losses (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:IncreaseDecreaseInFinanceReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesReceivableGross",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "041 - Disclosure - Note 3 - Loans and Allowance for Credit Losses - Components of Loan Portfolio (Details)",
     "menuCat": "Details",
     "order": "42",
     "role": "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
     "shortName": "Note 3 - Loans and Allowance for Credit Losses - Components of Loan Portfolio (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "0",
      "lang": null,
      "name": "mbwm:LoanPortfolioClassesAndSegmentsAsPercentageOfAggregateLoan",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:PastDueFinancingReceivablesTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "042 - Disclosure - Note 3 - Loans and Allowance for Credit Losses - Nonperforming Loans (Details)",
     "menuCat": "Details",
     "order": "43",
     "role": "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
     "shortName": "Note 3 - Loans and Allowance for Credit Losses - Nonperforming Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "mbwm:FinancingReceivableNonperformingTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31_FinancialInstrumentPerformanceStatusAxis-NonperformingFinancingReceivableMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesReceivableGross",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "043 - Disclosure - Note 3 - Loans and Allowance for Credit Losses - Age Analysis of Past Due Loans (Details)",
     "menuCat": "Details",
     "order": "44",
     "role": "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
     "shortName": "Note 3 - Loans and Allowance for Credit Losses - Age Analysis of Past Due Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:PastDueFinancingReceivablesTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31_FinancingReceivablesPeriodPastDueAxis-FinancingReceivables30To59DaysPastDueMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:NotesReceivableGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableNonaccrualNoAllowance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "044 - Disclosure - Note 3 - Loans and Allowance for Loan Losses - Nonaccrual Loans (Details)",
     "menuCat": "Details",
     "order": "45",
     "role": "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details",
     "shortName": "Note 3 - Loans and Allowance for Loan Losses - Nonaccrual Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableNonaccrualNoAllowance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableOriginatedInCurrentFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "045 - Disclosure - Note 3 - Loans and Allowance for Credit Losses - Loan Vintage (Details)",
     "menuCat": "Details",
     "order": "46",
     "role": "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
     "shortName": "Note 3 - Loans and Allowance for Credit Losses - Loan Vintage (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableOriginatedInCurrentFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLosses",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "046 - Disclosure - Note 3 - Loans and Allowance for Credit Losses - Activity in Allowance for Loan Losses and the Recorded Investments in Loans (Details)",
     "menuCat": "Details",
     "order": "47",
     "role": "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
     "shortName": "Note 3 - Loans and Allowance for Credit Losses - Activity in Allowance for Loan Losses and the Recorded Investments in Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossesWriteOffs",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "mbwm:FinancingReceivableModifiedNumberOfContracts",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "047 - Disclosure - Note 3 - Loans and Allowance for Credit Losses - Loans Modified as Troubled Debt Restructurings (Details)",
     "menuCat": "Details",
     "order": "48",
     "role": "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
     "shortName": "Note 3 - Loans and Allowance for Credit Losses - Loans Modified as Troubled Debt Restructurings (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2022-01-01_2022-03-31",
      "decimals": "INF",
      "lang": null,
      "name": "mbwm:FinancingReceivableTroubledDebtRestructuringPremodification",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "mbwm:TroubledDebtRestructuringsOnFinancingReceivablesWithInPreviousTwelveMonthsThatBecameOverThirtyDaysPastDueTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2022-01-01_2022-03-31",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "mbwm:FinancingReceivableTroubledDebtRestructuringSubsequentDefaultNumberOfContracts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "048 - Disclosure - Note 3 - Loans and Allowance for Loan Losses - Loans Modified As Troubled Debt Restructurings Within the Previous Twelve Months That Became Over 30 Days Past Due (Details)",
     "menuCat": "Details",
     "order": "49",
     "role": "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
     "shortName": "Note 3 - Loans and Allowance for Loan Losses - Loans Modified As Troubled Debt Restructurings Within the Previous Twelve Months That Became Over 30 Days Past Due (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "mbwm:TroubledDebtRestructuringsOnFinancingReceivablesWithInPreviousTwelveMonthsThatBecameOverThirtyDaysPastDueTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2022-01-01_2022-03-31",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "mbwm:FinancingReceivableTroubledDebtRestructuringSubsequentDefaultNumberOfContracts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "004 - Statement - Consolidated Statements of Comprehensive Income (Loss) (Unaudited)",
     "menuCat": "Statements",
     "order": "5",
     "role": "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited",
     "shortName": "Consolidated Statements of Comprehensive Income (Loss) (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "mbwm:TroubleDebtRestructuringActivityTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2021-12-31_FinancingReceivablePortfolioSegmentAxis-CommercialPortfolioSegmentMember_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis-CommercialAndIndustrialMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableModificationsRecordedInvestment",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "049 - Disclosure - Note 3 - Loans and Allowance for Loan Losses - Activity for Troubled Debt Restructurings (Details)",
     "menuCat": "Details",
     "order": "50",
     "role": "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
     "shortName": "Note 3 - Loans and Allowance for Loan Losses - Activity for Troubled Debt Restructurings (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "mbwm:TroubleDebtRestructuringActivityTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2022-01-01_2022-03-31_FinancingReceivablePortfolioSegmentAxis-CommercialPortfolioSegmentMember_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis-CommercialAndIndustrialMember",
      "decimals": "-3",
      "lang": null,
      "name": "mbwm:FinancingReceivableModifiedAsTroubledDebtRestructuringsChargeOffs",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:Depreciation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "050 - Disclosure - Note 4 - Premises and Equipment, Net (Details Textual)",
     "menuCat": "Details",
     "order": "51",
     "role": "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual",
     "shortName": "Note 4 - Premises and Equipment, Net (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:Depreciation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "051 - Disclosure - Note 4 - Premises and Equipment, Net - Summary of Premises and Equipment (Details)",
     "menuCat": "Details",
     "order": "52",
     "role": "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details",
     "shortName": "Note 4 - Premises and Equipment, Net - Summary of Premises and Equipment (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "052 - Disclosure - Note 4 - Premises and Equipment, Net - Future Lease Payments (Details)",
     "menuCat": "Details",
     "order": "53",
     "role": "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details",
     "shortName": "Note 4 - Premises and Equipment, Net - Future Lease Payments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:Deposits",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "053 - Disclosure - Note 5 - Deposits (Details Textual)",
     "menuCat": "Details",
     "order": "54",
     "role": "http://www.mercbank.com/20230331/role/statement-note-5-deposits-details-textual",
     "shortName": "Note 5 - Deposits (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:IncreaseDecreaseInDeposits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NoninterestBearingDomesticDepositDemand",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "054 - Disclosure - Note 5 - Deposits - Summary of Deposits (Details)",
     "menuCat": "Details",
     "order": "55",
     "role": "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details",
     "shortName": "Note 5 - Deposits - Summary of Deposits (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "mbwm:SummaryOfDepositsAndPercentageChangeInDepositsTableTextBlock",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "3",
      "lang": null,
      "name": "mbwm:PercentageOfNonInterestBearingDomesticDepositsToDepositsDemand",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": null,
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "055 - Disclosure - Note 6 - Securities Sold Under Agreements to Repurchase (Details Textual)",
     "menuCat": "Details",
     "order": "56",
     "role": "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-details-textual",
     "shortName": "Note 6 - Securities Sold Under Agreements to Repurchase (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:SecuritiesSoldUnderAgreementsToRepurchase",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "056 - Disclosure - Note 6 - Securities Sold Under Agreements to Repurchase - Securities Sold Under Agreement to Repurchase (Details)",
     "menuCat": "Details",
     "order": "57",
     "role": "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreement-to-repurchase-details",
     "shortName": "Note 6 - Securities Sold Under Agreements to Repurchase - Securities Sold Under Agreement to Repurchase (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRepurchaseAgreements",
       "us-gaap:RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShorttermDebtAverageOutstandingAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesLongTerm",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "057 - Disclosure - Note 7 - Federal Home Loan Bank of Indianapolis Advances (Details Textual)",
     "menuCat": "Details",
     "order": "58",
     "role": "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual",
     "shortName": "Note 7 - Federal Home Loan Bank of Indianapolis Advances (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:FederalHomeLoanBankAdvancesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "mbwm:MaturitiesOfCurrentlyOutstandingFhlbAdvancesTableTextBlock",
       "us-gaap:FederalHomeLoanBankAdvancesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31_DebtInstrumentAxis-BulletAdvancesMember_FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis-FederalHomeLoanBankOfIndianapolisMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesMaturitiesSummaryDueInRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "058 - Disclosure - Note 7 - Federal Home Loan Bank of Indianapolis Advances - Maturities of Currently Outstanding FHLB Advances (Details)",
     "menuCat": "Details",
     "order": "59",
     "role": "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
     "shortName": "Note 7 - Federal Home Loan Bank of Indianapolis Advances - Maturities of Currently Outstanding FHLB Advances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "mbwm:MaturitiesOfCurrentlyOutstandingFhlbAdvancesTableTextBlock",
       "us-gaap:FederalHomeLoanBankAdvancesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31_DebtInstrumentAxis-BulletAdvancesMember_FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis-FederalHomeLoanBankOfIndianapolisMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesMaturitiesSummaryDueInRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2021-12-31_AdjustmentsForNewAccountingPronouncementsAxis-AccountingStandardsUpdate201613Member_CumulativeEffectPeriodOfAdoptionAxis-CumulativeEffectPeriodOfAdoptionAdjustmentMember_StatementEquityComponentsAxis-RetainedEarningsMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "005 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Unaudited)",
     "menuCat": "Statements",
     "order": "6",
     "role": "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
     "shortName": "Consolidated Statements of Changes in Shareholders' Equity (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2021-12-31_AdjustmentsForNewAccountingPronouncementsAxis-AccountingStandardsUpdate201613Member_CumulativeEffectPeriodOfAdoptionAxis-CumulativeEffectPeriodOfAdoptionAdjustmentMember_StatementEquityComponentsAxis-RetainedEarningsMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "mbwm:MaturitiesOfCurrentlyOutstandingFhlbAdvancesTableTextBlock",
       "us-gaap:FederalHomeLoanBankAdvancesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31_DebtInstrumentAxis-AmortizingAdvancesMember_FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis-FederalHomeLoanBankOfIndianapolisMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesMaturitiesSummaryDueInRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "059 - Disclosure - Note 7 - Federal Home Loan Bank of Indianapolis Advances - Maturities of Currently Outstanding FHLBI Amortizing Advances (Details)",
     "menuCat": "Details",
     "order": "60",
     "role": "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details",
     "shortName": "Note 7 - Federal Home Loan Bank of Indianapolis Advances - Maturities of Currently Outstanding FHLBI Amortizing Advances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "mbwm:MaturitiesOfCurrentlyOutstandingFhlbAdvancesTableTextBlock",
       "us-gaap:FederalHomeLoanBankAdvancesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31_DebtInstrumentAxis-AmortizingAdvancesMember_FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis-FederalHomeLoanBankOfIndianapolisMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesMaturitiesSummaryDueInRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLosses",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "060 - Disclosure - Note 8 - Commitments and Off-balance Sheet Risk (Details Textual)",
     "menuCat": "Details",
     "order": "61",
     "role": "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-details-textual",
     "shortName": "Note 8 - Commitments and Off-balance Sheet Risk (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:CommitmentsContingenciesAndGuaranteesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis-RetailAndCommercialLinesOfCreditAndCreditCardReceivablesReserveOnCommitmentsMember_RangeAxis-MaximumMember",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLosses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "mbwm:SummaryOfContractualAmountsOfFinancialInstrumentsWithOffBalanceSheetRiskTableTextBlock",
       "us-gaap:CommitmentsContingenciesAndGuaranteesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueDisclosureOffbalanceSheetRisksAmountLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "061 - Disclosure - Note 8 - Commitments and Off-balance Sheet Risk - Exposure to Credit Losses (Details)",
     "menuCat": "Details",
     "order": "62",
     "role": "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details",
     "shortName": "Note 8 - Commitments and Off-balance Sheet Risk - Exposure to Credit Losses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "mbwm:SummaryOfContractualAmountsOfFinancialInstrumentsWithOffBalanceSheetRiskTableTextBlock",
       "us-gaap:CommitmentsContingenciesAndGuaranteesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueDisclosureOffbalanceSheetRisksAmountLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NoninterestExpense",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "062 - Disclosure - Note 9 - Derivatives and Hedging Activities (Details Textual)",
     "menuCat": "Details",
     "order": "63",
     "role": "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual",
     "shortName": "Note 9 - Derivatives and Hedging Activities (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31_DerivativeInstrumentRiskAxis-InterestRateSwapMember",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:NoninterestExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31_DerivativeInstrumentRiskAxis-InterestRateSwapMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "063 - Disclosure - Note 9 - Derivatives and Hedging Activities - Fair Value of Derivative Instruments (Details)",
     "menuCat": "Details",
     "order": "64",
     "role": "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details",
     "shortName": "Note 9 - Derivatives and Hedging Activities - Fair Value of Derivative Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31_BalanceSheetLocationAxis-OtherAssetsMember_DerivativeInstrumentRiskAxis-InterestRateSwapMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:DerivativeAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "064 - Disclosure - Note 10 - Fair Values of Financial Instruments - Fair Value Hierarchy of Financial Instruments (Details)",
     "menuCat": "Details",
     "order": "65",
     "role": "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
     "shortName": "Note 10 - Fair Values of Financial Instruments - Fair Value Hierarchy of Financial Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31_FairValueByMeasurementBasisAxis-CarryingReportedAmountFairValueDisclosureMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "065 - Disclosure - Note 11 - Fair Values (Details Textual)",
     "menuCat": "Details",
     "order": "66",
     "role": "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
     "shortName": "Note 11 - Fair Values (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31_FairValueByAssetClassAxis-RealEstateDependentLoansAndForeclosedAssetsEstimatedSellingCostsMember",
      "decimals": "1",
      "lang": null,
      "name": "mbwm:FairValueInputsDiscountFactor",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "066 - Disclosure - Note 11 - Fair Values - Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)",
     "menuCat": "Details",
     "order": "67",
     "role": "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
     "shortName": "Note 11 - Fair Values - Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31_FairValueByMeasurementFrequencyAxis-FairValueMeasurementsRecurringMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:AssetsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnNonrecurringBasisValuationTechniquesTextBlock",
       "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31_FairValueByMeasurementFrequencyAxis-FairValueMeasurementsNonrecurringMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "mbwm:CollateralDependentLoansFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "067 - Disclosure - Note 11 - Fair Values - Assets and Liabilities Measured at Fair Value on a Nonrecurring Basis (Details)",
     "menuCat": "Details",
     "order": "68",
     "role": "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details",
     "shortName": "Note 11 - Fair Values - Assets and Liabilities Measured at Fair Value on a Nonrecurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnNonrecurringBasisValuationTechniquesTextBlock",
       "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31_FairValueByMeasurementFrequencyAxis-FairValueMeasurementsNonrecurringMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "mbwm:CollateralDependentLoansFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "mbwm:PreferredSecuritiesOfSubsidiaryTrust",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "068 - Disclosure - Note 12 - Regulatory Matters (Details Textual)",
     "menuCat": "Details",
     "order": "69",
     "role": "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual",
     "shortName": "Note 12 - Regulatory Matters (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "mbwm:PreferredSecuritiesOfSubsidiaryTrust",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": null,
     "groupType": "statement",
     "isDefault": "false",
     "longName": "006 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Unaudited) (Parentheticals)",
     "menuCat": "Statements",
     "order": "7",
     "role": "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
     "shortName": "Consolidated Statements of Changes in Shareholders' Equity (Unaudited) (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CapitalRequiredForCapitalAdequacyToRiskWeightedAssets",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "069 - Disclosure - Note 12 - Regulatory Matters - Actual Capital Levels and Minimum Levels (Details)",
     "menuCat": "Details",
     "order": "70",
     "role": "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details",
     "shortName": "Note 12 - Regulatory Matters - Actual Capital Levels and Minimum Levels (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "i_2023-03-31_ConsolidatedEntitiesAxis-ConsolidatedEntitiesMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:Capital",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-12_2023-01-12",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "reportCount": 1,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "070 - Disclosure - Note 13 - Subsequent Events (Details Textual)",
     "menuCat": "Details",
     "order": "71",
     "role": "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events-details-textual",
     "shortName": "Note 13 - Subsequent Events (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:SubsequentEventsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-04-13_2023-04-13_SubsequentEventTypeAxis-SubsequentEventMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "007 - Statement - Consolidated Statements of Cash Flows (Unaudited)",
     "menuCat": "Statements",
     "order": "8",
     "role": "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited",
     "shortName": "Consolidated Statements of Cash Flows (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:DepreciationAmortizationAndAccretionNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "008 - Disclosure - Note 1 - Significant Accounting Policies",
     "menuCat": "Notes",
     "order": "9",
     "role": "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
     "shortName": "Note 1 - Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "mbwm20230331_10q.htm",
      "contextRef": "d_2023-01-01_2023-03-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 87,
   "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentInformationLineItems": {
     "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": "Document Information [Line Items]"
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package.",
        "label": "Document Information [Table]"
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentQuarterlyReport": {
     "auth_ref": [
      "r818"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r819"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r816"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-noninterest-income-details",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-tables",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-tables",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-tables",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-tables",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-tables",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-tables",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-tables",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-tables",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreement-to-repurchase-details",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-tables",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-tables",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-tables",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-tables",
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r816"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r816"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r820"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r816"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r816"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r816"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r816"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-noninterest-income-details",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-tables",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-tables",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-tables",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-tables",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-tables",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-tables",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-tables",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-tables",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreement-to-repurchase-details",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-tables",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-tables",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-tables",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-tables",
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "stringItemType"
    },
    "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r815"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r817"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-document-and-entity-information"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "mbwm_AccruedInterestPayableFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of accrued interest payable.",
        "label": "mbwm_AccruedInterestPayableFairValueDisclosure",
        "terseLabel": "Accrued interest payable"
       }
      }
     },
     "localname": "AccruedInterestPayableFairValueDisclosure",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_AccruedInterestReceivableFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value disclosure for interest which has been accrued but unpaid.",
        "label": "mbwm_AccruedInterestReceivableFairValueDisclosure",
        "terseLabel": "Accrued interest receivable"
       }
      }
     },
     "localname": "AccruedInterestReceivableFairValueDisclosure",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_AggregateIncreaseDecreaseInPercentageOfDeposits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of increase or (decrease) during the period in deposit liabilities.",
        "label": "Total deposits, percent increase (decrease)",
        "terseLabel": "Aggregate Increase (Decrease) in Percentage of Deposits"
       }
      }
     },
     "localname": "AggregateIncreaseDecreaseInPercentageOfDeposits",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_AggregatePercentageOfDeposits": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents a percentage of total deposits.",
        "label": "mbwm_AggregatePercentageOfDeposits",
        "totalLabel": "Total deposits, percentage"
       }
      }
     },
     "localname": "AggregatePercentageOfDeposits",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_AllOtherStatesAndTheirPoliticalSubdivisionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "States and their political subdivisions other than the State of Michigan and its political subdivision.",
        "label": "All Other States and Their Political Subdivisions [Member]"
       }
      }
     },
     "localname": "AllOtherStatesAndTheirPoliticalSubdivisionsMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_AllowanceForDoubtfulAccountsReceivableEstimatedMaximumForecastIncreaseInAllowance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated maximum forecast for the increase in allowance for doubtful accounts receivable.",
        "label": "mbwm_AllowanceForDoubtfulAccountsReceivableEstimatedMaximumForecastIncreaseInAllowance",
        "terseLabel": "Allowance for Doubtful Accounts Receivable, Estimated Maximum Forecast, Increase in Allowance"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableEstimatedMaximumForecastIncreaseInAllowance",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_AmortizingAdvancesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amortizing advances.",
        "label": "Amortizing Advances [Member]"
       }
      }
     },
     "localname": "AmortizingAdvancesMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-tables"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_BankMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the items associated with the Bank only.",
        "label": "Bank [Member]"
       }
      }
     },
     "localname": "BankMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_BondsIssuedByStatebasedMunicipalitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related to bonds issued by state-based municipalities.",
        "label": "Bonds Issued by State-based Municipalities [Member]"
       }
      }
     },
     "localname": "BondsIssuedByStatebasedMunicipalitiesMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_BondsIssuedOrGuaranteedByAgenciesOfTheUSFederalGovernmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related to bonds issued or guaranteed by agencies of the U.S. federal government.",
        "label": "Bonds Issued or Guaranteed by Agencies of the U.S. Federal Government [Member]"
       }
      }
     },
     "localname": "BondsIssuedOrGuaranteedByAgenciesOfTheUSFederalGovernmentMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_BulletAdvancesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the bullet advances.",
        "label": "Bullet Advances [member]"
       }
      }
     },
     "localname": "BulletAdvancesMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-tables"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_CapitalConservationBuffer": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An additional amount held in risk-based capital designed to ensure that banks build up capital buffers outside periods of stress which can be drawn down as losses are incurred. The requirement is based on simple capital conservation rules designed to avoid breaches of minimum capital requirements.",
        "label": "mbwm_CapitalConservationBuffer",
        "terseLabel": "Capital Conservation Buffer"
       }
      }
     },
     "localname": "CapitalConservationBuffer",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_CollateralDependentLoansFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value disclosure of collateral dependent loans held by the company.",
        "label": "mbwm_CollateralDependentLoansFairValueDisclosure",
        "terseLabel": "Collateral Dependent Loans"
       }
      }
     },
     "localname": "CollateralDependentLoansFairValueDisclosure",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_CollateralDependentLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related to collateral dependent loans.",
        "label": "Collateral Dependent Loans [Member]"
       }
      }
     },
     "localname": "CollateralDependentLoansMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_CommercialAndIndustrialMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing arrangement that represents a contractual right to receive money either on demand or on fixed or determinable dates related to commercial and industrial receivables.",
        "label": "Commercial and Industrial [Member]"
       }
      }
     },
     "localname": "CommercialAndIndustrialMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_CommonEquityTier1RiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum common equity tier one capital ratio (common equity 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 1 capital minimum required for capital adequacy, ratio",
        "terseLabel": "Common Equity Tier 1 Risk Based Capital Required For Capital Adequacy to Risk Weighted Assets"
       }
      }
     },
     "localname": "CommonEquityTier1RiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual"
     ],
     "xbrltype": "pureItemType"
    },
    "mbwm_CommonEquityTier1RiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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 1 capital to be well capitalized, ratio"
       }
      }
     },
     "localname": "CommonEquityTier1RiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "pureItemType"
    },
    "mbwm_ConsumerCreditCardMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of financing receivable related to consumer credit cards.",
        "label": "Consumer Credit Card [Member]"
       }
      }
     },
     "localname": "ConsumerCreditCardMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_ConsumerOtherFinancingReceivable1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of financing receivables related to other consumer financing receivables.",
        "label": "Consumer Other Financing Receivable 1 [Member]"
       }
      }
     },
     "localname": "ConsumerOtherFinancingReceivable1Member",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_CustomerServiceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents customer service.",
        "label": "Customer Service [Member]"
       }
      }
     },
     "localname": "CustomerServiceMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-noninterest-income-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_DebtSecuritiesAvailableforsaleAmortizedCostMaturityAllocatedAndSingleMaturityDateYearOneThroughFive": {
     "auth_ref": [],
     "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 first 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": "Due in 2024 through 2028, Amortized Cost"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableforsaleAmortizedCostMaturityAllocatedAndSingleMaturityDateYearOneThroughFive",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_DebtSecuritiesAvailableforsaleDecreaseDueToScheduledMaturities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in debt securities classified as available for sale due to schedule maturities.",
        "label": "mbwm_DebtSecuritiesAvailableforsaleDecreaseDueToScheduledMaturities",
        "terseLabel": "Debt Securities, Available-for-Sale, Decrease Due to Scheduled Maturities"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableforsaleDecreaseDueToScheduledMaturities",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_DebtSecuritiesAvailableforsaleFairValueMaturityAllocatedAndSingleMaturityDateYearOneThroughFive": {
     "auth_ref": [],
     "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 first 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": "Due in 2024 through 2028, Fair Value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableforsaleFairValueMaturityAllocatedAndSingleMaturityDateYearOneThroughFive",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_DomesticTimeDeposits100000OrMore": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details": {
       "order": 3.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of local time deposit liabilities, including certificates of deposit, in denominations of $100,000 or more.",
        "label": "Local Time, $100,000 and over"
       }
      }
     },
     "localname": "DomesticTimeDeposits100000OrMore",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_DomesticTimeDepositsLessThan100000": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details": {
       "order": 0.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of domestic time deposit liabilities, including certificates of deposit, in denominations of less than $100,000.",
        "label": "Local Time, under $100,000"
       }
      }
     },
     "localname": "DomesticTimeDepositsLessThan100000",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_FairValueInputsDiscountFactor": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discount factor used to further reduce the balance sheet carrying amount of property or other assets.",
        "label": "mbwm_FairValueInputsDiscountFactor",
        "terseLabel": "Fair Value Inputs, Discount Factor"
       }
      }
     },
     "localname": "FairValueInputsDiscountFactor",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_FederalHomeLoanBankAdvanceMaturityAfterYearFour": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advance from Federal Home Loan Bank (FHLBank) maturing after 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": "mbwm_FederalHomeLoanBankAdvanceMaturityAfterYearFour",
        "verboseLabel": "Thereafter"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvanceMaturityAfterYearFour",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_FeesAndCommissionsPayrollProcessing": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The income generate from providing payroll processing services to external customers.",
        "label": "Payroll processing"
       }
      }
     },
     "localname": "FeesAndCommissionsPayrollProcessing",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_FinancingReceivableByOriginationYearTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financing receivable by origination year.",
        "label": "Financing Receivable by Origination Year [Table Text Block]"
       }
      }
     },
     "localname": "FinancingReceivableByOriginationYearTableTextBlock",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mbwm_FinancingReceivableModifiedAsTroubledDebtRestructuringsAdditions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A financing receivable which had its terms modified during the period and is now considered a troubled restructuring.",
        "label": "Net Additions/Deletions"
       }
      }
     },
     "localname": "FinancingReceivableModifiedAsTroubledDebtRestructuringsAdditions",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_FinancingReceivableModifiedAsTroubledDebtRestructuringsChargeOffs": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the amount of the charge-off related to a troubled debt restructuring.",
        "label": "mbwm_FinancingReceivableModifiedAsTroubledDebtRestructuringsChargeOffs",
        "negatedLabel": "Charge-Offs"
       }
      }
     },
     "localname": "FinancingReceivableModifiedAsTroubledDebtRestructuringsChargeOffs",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_FinancingReceivableModifiedAsTroubledDebtRestructuringsPayments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with a financing receivable classified as a troubled debt restructuring.",
        "label": "mbwm_FinancingReceivableModifiedAsTroubledDebtRestructuringsPayments",
        "negatedLabel": "Payments"
       }
      }
     },
     "localname": "FinancingReceivableModifiedAsTroubledDebtRestructuringsPayments",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_FinancingReceivableModifiedAsTroubledDebtRestructuringsTransferToOtherRealEstate": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The transfer of a financing receivable classified as a troubled debt restructuring to other real estate.",
        "label": "mbwm_FinancingReceivableModifiedAsTroubledDebtRestructuringsTransferToOtherRealEstate",
        "negatedLabel": "Transfers to ORE"
       }
      }
     },
     "localname": "FinancingReceivableModifiedAsTroubledDebtRestructuringsTransferToOtherRealEstate",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_FinancingReceivableModifiedNumberOfContracts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of financing receivables that have been modified by troubled debt restructurings.",
        "label": "mbwm_FinancingReceivableModifiedNumberOfContracts",
        "terseLabel": "Financing Receivable, Modified, Number of Contracts"
       }
      }
     },
     "localname": "FinancingReceivableModifiedNumberOfContracts",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details"
     ],
     "xbrltype": "integerItemType"
    },
    "mbwm_FinancingReceivableNonaccrualAllowance": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance of nonaccrual financing receivable.",
        "label": "Related allowance"
       }
      }
     },
     "localname": "FinancingReceivableNonaccrualAllowance",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_FinancingReceivableNonaccrualWithAllowance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable on nonaccrual status with allowance for credit loss. Excludes net investment in lease.",
        "label": "With related allowance recorded, principal balance"
       }
      }
     },
     "localname": "FinancingReceivableNonaccrualWithAllowance",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_FinancingReceivableNonperformingTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of nonperforming financing receivable.",
        "label": "Financing Receivable, Nonperforming [Table Text Block]"
       }
      }
     },
     "localname": "FinancingReceivableNonperformingTableTextBlock",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mbwm_FinancingReceivablePastDueNinetyDaysOrMoreAndStillAccruingInterestAndNonaccrualLoans": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivables which are past due 90 days or more and still accruing interest and nonaccrual loans.",
        "label": "Total nonperforming loans"
       }
      }
     },
     "localname": "FinancingReceivablePastDueNinetyDaysOrMoreAndStillAccruingInterestAndNonaccrualLoans",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_FinancingReceivableTermLoan": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable term loan.",
        "label": "Financing Receivable, Term Loan"
       }
      }
     },
     "localname": "FinancingReceivableTermLoan",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_FinancingReceivableTermLoanWriteoff": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of writeoff of financing receivable, term loan.",
        "label": "Term loan, year-to-date gross write offs"
       }
      }
     },
     "localname": "FinancingReceivableTermLoanWriteoff",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_FinancingReceivableTroubledDebtRestructuringPremodification": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before troubled debt restructuring, of financing receivable to be modified.",
        "label": "mbwm_FinancingReceivableTroubledDebtRestructuringPremodification",
        "terseLabel": "Pre- Modification Recorded Principal Balance"
       }
      }
     },
     "localname": "FinancingReceivableTroubledDebtRestructuringPremodification",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_FinancingReceivableTroubledDebtRestructuringSubsequentDefaultNumberOfContracts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of financing receivable contracts modified as troubled debt restructuring within previous 12 months, with subsequent payment default.",
        "label": "mbwm_FinancingReceivableTroubledDebtRestructuringSubsequentDefaultNumberOfContracts",
        "terseLabel": "Number of Contracts"
       }
      }
     },
     "localname": "FinancingReceivableTroubledDebtRestructuringSubsequentDefaultNumberOfContracts",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details"
     ],
     "xbrltype": "integerItemType"
    },
    "mbwm_ForeclosedAssetsFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value disclosure of foreclosed assets held by the company.",
        "label": "Foreclosed assets"
       }
      }
     },
     "localname": "ForeclosedAssetsFairValueDisclosure",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_Grades1To4Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A credit rating between 1 and 4.",
        "label": "Grades 1-4 [Member]"
       }
      }
     },
     "localname": "Grades1To4Member",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_Grades5To7Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A credit rating between 5 and 7.",
        "label": "Grades 5-7 [Member]"
       }
      }
     },
     "localname": "Grades5To7Member",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_Grades8To9Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A credit rating between 8 and 9.",
        "label": "Grades 8-9 [Member]"
       }
      }
     },
     "localname": "Grades8To9Member",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_InformationByCategoryOfDebtSecurityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Information By Category Of Debt Security [Domain]"
       }
      }
     },
     "localname": "InformationByCategoryOfDebtSecurityDomain",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_InterestIncomeOnCommercialAndMortgageLoansDiscontinuedPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of days past due when interest income on commercial and mortgage loans is discontinued unless the loans are well-secured and in process of collection.",
        "label": "mbwm_InterestIncomeOnCommercialAndMortgageLoansDiscontinuedPeriod",
        "terseLabel": "Interest Income on Commercial and Mortgage Loans Discontinued Period (Day)"
       }
      }
     },
     "localname": "InterestIncomeOnCommercialAndMortgageLoansDiscontinuedPeriod",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "durationItemType"
    },
    "mbwm_InterestRateSwapProgramFees": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fees received during the period for interest rate swap program.",
        "label": "Interest rate swap fees"
       }
      }
     },
     "localname": "InterestRateSwapProgramFees",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_LoanPortfolioClassesAndSegmentsAsPercentageOfAggregateLoan": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan portfolio classes and segments expressed as a percentage of the companies aggregate loans.",
        "label": "Percent of portfolio"
       }
      }
     },
     "localname": "LoanPortfolioClassesAndSegmentsAsPercentageOfAggregateLoan",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_LoansAndLeasesReceivableNetOfDeferredIncomeIncreaseDecreasePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of increase or (decrease) during the period in loans and leases receivable net of deferred income.",
        "label": "Period increase (decrease)"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNetOfDeferredIncomeIncreaseDecreasePercentage",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_LoansAndLeasesReceivablePercentagePeriodIncreaseDecrease": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of increase or (decrease) during the period in loans and leases receivable during the period.",
        "label": "mbwm_LoansAndLeasesReceivablePercentagePeriodIncreaseDecrease",
        "terseLabel": "Loans and Leases Receivable, Percentage Period Increase (Decrease)"
       }
      }
     },
     "localname": "LoansAndLeasesReceivablePercentagePeriodIncreaseDecrease",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_MaturitiesOfCurrentlyOutstandingFhlbAdvancesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the maturities of currently outstanding Federal Home Loan Bank advances.",
        "label": "Maturities of Currently Outstanding FHLB Advances [Table Text Block]"
       }
      }
     },
     "localname": "MaturitiesOfCurrentlyOutstandingFhlbAdvancesTableTextBlock",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mbwm_MaximumDelinquencyPeriodForConsumerAndCreditCardLoansToBeChargedOff": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum number of days delinquent for consumer and credit card loans to be charged off.",
        "label": "mbwm_MaximumDelinquencyPeriodForConsumerAndCreditCardLoansToBeChargedOff",
        "terseLabel": "Maximum Delinquency Period for Consumer and Credit Card Loans to be Charged Off (Day)"
       }
      }
     },
     "localname": "MaximumDelinquencyPeriodForConsumerAndCreditCardLoansToBeChargedOff",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "durationItemType"
    },
    "mbwm_MaximumLevelOfConsolidatedAggregateAssetsAllowingForInclusionOfTrustPreferredSecuritiesInTierOneCapital": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum level of consolidated aggregate assets allowing for inclusion of trust preferred securities in Tier 1 Capital under the Dodd-Frank Act.",
        "label": "mbwm_MaximumLevelOfConsolidatedAggregateAssetsAllowingForInclusionOfTrustPreferredSecuritiesInTierOneCapital",
        "terseLabel": "Maximum Level of Consolidated Aggregate Assets Allowing for Inclusion of Trust Preferred Securities in Tier One Capital"
       }
      }
     },
     "localname": "MaximumLevelOfConsolidatedAggregateAssetsAllowingForInclusionOfTrustPreferredSecuritiesInTierOneCapital",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_MaximumRestrictedCoreElementAllowedInTierOneCapitalPercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum amount of restricted core elements allowed in tier one capital expressed as a percent.",
        "label": "mbwm_MaximumRestrictedCoreElementAllowedInTierOneCapitalPercent",
        "terseLabel": "Maximum Restricted Core Element Allowed in Tier One Capital Percent"
       }
      }
     },
     "localname": "MaximumRestrictedCoreElementAllowedInTierOneCapitalPercent",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_MortgageLoansHeldForSale": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value of mortgage loans that are held with the intention to sell or be securitized in the near future.",
        "label": "mbwm_MortgageLoansHeldForSale",
        "terseLabel": "Mortgage loans held for sale"
       }
      }
     },
     "localname": "MortgageLoansHeldForSale",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_MunicipalGeneralObligationBondsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This category includes information about debt securities classified as municipal general obligation bonds.",
        "label": "Municipal General Obligation Bonds [Member]"
       }
      }
     },
     "localname": "MunicipalGeneralObligationBondsMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_MunicipalRevenueBondsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This category includes information about debt securities classified as municipal revenue bonds.",
        "label": "Municipal Revenue Bonds [Member]"
       }
      }
     },
     "localname": "MunicipalRevenueBondsMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_NetGainLossFromSaleAndValuationWriteDownOfForeclosedAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net gain or loss resulting from the sale and valuation write-down of foreclosed assets.",
        "label": "mbwm_NetGainLossFromSaleAndValuationWriteDownOfForeclosedAssets",
        "negatedLabel": "Net gain from sales and valuation write-downs of foreclosed assets"
       }
      }
     },
     "localname": "NetGainLossFromSaleAndValuationWriteDownOfForeclosedAssets",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_NoteToFinancialStatementDetailsTextual": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note To Financial Statement Details Textual"
       }
      }
     },
     "localname": "NoteToFinancialStatementDetailsTextual",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_NotesToFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes To Financial Statements [Abstract]"
       }
      }
     },
     "localname": "NotesToFinancialStatementsAbstract",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_NumberOfUnconsolidatedBusinessTrustsFormedToIssueTrustPreferredSecurities": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of unconsolidated business trusts formed to issue trust preferred securities.",
        "label": "mbwm_NumberOfUnconsolidatedBusinessTrustsFormedToIssueTrustPreferredSecurities",
        "terseLabel": "Number of Unconsolidated Business Trusts Formed to Issue Trust Preferred Securities"
       }
      }
     },
     "localname": "NumberOfUnconsolidatedBusinessTrustsFormedToIssueTrustPreferredSecurities",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "integerItemType"
    },
    "mbwm_OneToFourFamilyMortgagesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Segment of the company's total financing receivables related to 1-4 family mortgages.",
        "label": "One to Four Family Mortgages [Member]"
       }
      }
     },
     "localname": "OneToFourFamilyMortgagesMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_OtherConsumerLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the other consumer loans.",
        "label": "Other Consumer Loans [Member]"
       }
      }
     },
     "localname": "OtherConsumerLoansMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_OtherDebtAndEquitySecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments in debt and equity securities classified as other.",
        "label": "Other Debt and Equity Securities [Member]"
       }
      }
     },
     "localname": "OtherDebtAndEquitySecuritiesMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_PayrollProcessingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents payroll processing.",
        "label": "Payroll Processing [Member]"
       }
      }
     },
     "localname": "PayrollProcessingMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-noninterest-income-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_PercentageOfDomesticTimeDeposits100000AndOver": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details": {
       "order": 3.0,
       "parentTag": "mbwm_AggregatePercentageOfDeposits",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of domestic time deposit liabilities (including certificates of deposits, individual retirement accounts and open accounts) in denominations of $100,000 or more.",
        "label": "Local Time, $100,000 and over, percentage"
       }
      }
     },
     "localname": "PercentageOfDomesticTimeDeposits100000AndOver",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_PercentageOfDomesticTimeDepositsUnder100000": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details": {
       "order": 2.0,
       "parentTag": "mbwm_AggregatePercentageOfDeposits",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of domestic time deposits (including certificates of deposits, individual retirement accounts and open accounts) that total to less than $100,000.",
        "label": "Local Time, under $100,000, percentage"
       }
      }
     },
     "localname": "PercentageOfDomesticTimeDepositsUnder100000",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_PercentageOfIncreaseDecreaseInDomesticTimeDeposits100000AndOver": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of increase or (decrease) in domestic time deposit liabilities (including certificates of deposits, individual retirement accounts and open accounts) in denominations of $100,000 or more",
        "label": "Local Time, $100,000 and over, percent increase (decrease)"
       }
      }
     },
     "localname": "PercentageOfIncreaseDecreaseInDomesticTimeDeposits100000AndOver",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_PercentageOfIncreaseDecreaseInDomesticTimeDepositsUnder100000": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of increase or (decrease) in domestic time deposits (including certificates of deposits, individual retirement accounts and open accounts) that total to less than $100,000.",
        "label": "Local Time, under $100,000, percent increase (decrease)"
       }
      }
     },
     "localname": "PercentageOfIncreaseDecreaseInDomesticTimeDepositsUnder100000",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_PercentageOfIncreaseDecreaseInMoneyMarketDeposits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of increase or (decrease) in interest-bearing domestic money market demand account deposit liabilities.",
        "label": "Money market, percent increase (decrease)"
       }
      }
     },
     "localname": "PercentageOfIncreaseDecreaseInMoneyMarketDeposits",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_PercentageOfIncreaseDecreaseInNonInterestBearingDemandDeposits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of increase or (decrease) in noninterest-bearing domestic accounts that entitle the depositor to withdraw funds at any time without prior notice, also known as demand deposits.",
        "label": "Noninterest-bearing demand, percent increase (decrease)"
       }
      }
     },
     "localname": "PercentageOfIncreaseDecreaseInNonInterestBearingDemandDeposits",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_PercentageOfIncreaseDecreaseOfInterestBearingCheckingDeposits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of increase or (decrease) in interest-bearing domestic checking deposit liabilities.",
        "label": "Interest-bearing checking, percent increase (decrease)"
       }
      }
     },
     "localname": "PercentageOfIncreaseDecreaseOfInterestBearingCheckingDeposits",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_PercentageOfIncreaseOrDecreaseOfSavingsDeposits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of increase or (decrease) in interest-bearing domestic savings deposit liabilities. Saving deposits bear interest and have no stated maturity.",
        "label": "Savings, percent increase (decrease)"
       }
      }
     },
     "localname": "PercentageOfIncreaseOrDecreaseOfSavingsDeposits",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_PercentageOfNonInterestBearingDomesticDepositsToDepositsDemand": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details": {
       "order": 0.0,
       "parentTag": "mbwm_AggregatePercentageOfDeposits",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of money in noninterest-bearing domestic accounts that entitle the depositor to withdraw funds at any time without prior notice, also known as demand deposits.",
        "label": "Noninterest-bearing demand, percentage"
       }
      }
     },
     "localname": "PercentageOfNonInterestBearingDomesticDepositsToDepositsDemand",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_PreferredSecuritiesOfSubsidiaryTrust": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trust preferred securities possesses characteristics of both equity and debt issues and are generally issued by bank holding companies.",
        "label": "mbwm_PreferredSecuritiesOfSubsidiaryTrust",
        "terseLabel": "Preferred Securities of Subsidiary Trust"
       }
      }
     },
     "localname": "PreferredSecuritiesOfSubsidiaryTrust",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_PremisesAndEquipmentNetMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents premises and equipment, net.",
        "label": "Premises and Equipment, Net [Member]"
       }
      }
     },
     "localname": "PremisesAndEquipmentNetMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_RealEstateDependentLoansAndForeclosedAssetsEstimatedSellingCostsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents real estate dependent loans and foreclosed assets, estimated selling costs.",
        "label": "Real Estate Dependent Loans and Foreclosed Assets Estimated Selling Costs [Member]"
       }
      }
     },
     "localname": "RealEstateDependentLoansAndForeclosedAssetsEstimatedSellingCostsMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_RealEstateDependentLoansAndForeclosedAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information pertaining to both real estate dependent loans and foreclosed assets.",
        "label": "Real Estate Dependent Loans and Foreclosed Assets [Member]"
       }
      }
     },
     "localname": "RealEstateDependentLoansAndForeclosedAssetsMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_RealEstateMultiFamilyAndResidentialRentalLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Segment of the company's total financing receivables related to real estate multi-family and residential rental loan receivables.",
        "label": "Real Estate Multi Family and Residential Rental Loan [Member]"
       }
      }
     },
     "localname": "RealEstateMultiFamilyAndResidentialRentalLoanMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_RealEstateNonOwnerOccupiedLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Segment of the company's total financing receivables related to real estate non owner occupied receivables.",
        "label": "Real Estate Non Owner Occupied Loan [Member]"
       }
      }
     },
     "localname": "RealEstateNonOwnerOccupiedLoanMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_RealEstateOwnerOccupiedLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Segment of the company's total financing receivables related to real estate owner occupied receivables.",
        "label": "Real Estate Owner Occupied Loan [Member]"
       }
      }
     },
     "localname": "RealEstateOwnerOccupiedLoanMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_RetailAndCommercialLinesOfCreditAndCreditCardReceivablesReserveOnCommitmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related to retail and commercial lines of credit and credit card receivables reserve on commitments.",
        "label": "Retail and Commercial Lines of Credit and Credit Card Receivables Reserve on Commitments [Member]"
       }
      }
     },
     "localname": "RetailAndCommercialLinesOfCreditAndCreditCardReceivablesReserveOnCommitmentsMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_RetailPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portfolio segment of the company's total financing receivables related to retail receivables.",
        "label": "Retail Portfolio Segment [Member]"
       }
      }
     },
     "localname": "RetailPortfolioSegmentMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_SBACARESActPaycheckProtectionProgramMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the Small Business Administration insured loans designed to provide funds for small businesses to keep their employees on the payroll.",
        "label": "SBA, CARES Act, Paycheck Protection Program [Member]"
       }
      }
     },
     "localname": "SBACARESActPaycheckProtectionProgramMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_ServiceChargesOnDepositAndSweepAccountsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents service charges on deposit and sweep accounts.",
        "label": "Service Charges on Deposit and Sweep Accounts [Member]"
       }
      }
     },
     "localname": "ServiceChargesOnDepositAndSweepAccountsMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-noninterest-income-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_StateOfMichiganAndAllItsPoliticalSubdivisionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities in the state of Michigan and all its political subdivisions.",
        "label": "State of Michigan and All Its Political Subdivisions [Member]"
       }
      }
     },
     "localname": "StateOfMichiganAndAllItsPoliticalSubdivisionsMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_SubordinatedDebenturesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents subordinated debentures.",
        "label": "Subordinated Debentures [Member]"
       }
      }
     },
     "localname": "SubordinatedDebenturesMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_SubordinatedNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents subordinated notes.",
        "label": "Subordinated Notes [Member]"
       }
      }
     },
     "localname": "SubordinatedNotesMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_SummaryOfContractualAmountsOfFinancialInstrumentsWithOffBalanceSheetRiskTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of contractual amounts of financial instruments with off-balance sheet risk.",
        "label": "Summary of Contractual Amounts of Financial Instruments With Off Balance Sheet Risk [Table Text Block]"
       }
      }
     },
     "localname": "SummaryOfContractualAmountsOfFinancialInstrumentsWithOffBalanceSheetRiskTableTextBlock",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mbwm_SummaryOfDepositsAndPercentageChangeInDepositsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of deposits and the percentage change in deposits.",
        "label": "Summary of Deposits and Percentage Change in Deposits [Table Text Block]"
       }
      }
     },
     "localname": "SummaryOfDepositsAndPercentageChangeInDepositsTableTextBlock",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mbwm_TransferOfBankPremisesToOtherRealEstateOwned": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value transferred from bank premises to real estate owned (REO) in noncash transactions.",
        "label": "Transfers from bank premises to other real estate owned"
       }
      }
     },
     "localname": "TransferOfBankPremisesToOtherRealEstateOwned",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_TroubleDebtRestructuringActivityTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of activity for loans modified as troubled debt restructurings. Includes charge-offs, payments, transfers to Other Real Estate and net additions/deletions.",
        "label": "Trouble Debt Restructuring Activity [Table Text Block]"
       }
      }
     },
     "localname": "TroubleDebtRestructuringActivityTableTextBlock",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mbwm_TroubledDebtRestructuringPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for troubled debt restructuring.",
        "label": "Troubled Debt Restructuring [Policy Text Block]"
       }
      }
     },
     "localname": "TroubledDebtRestructuringPolicyTextBlock",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mbwm_TroubledDebtRestructuringsOnFinancingReceivablesWithInPreviousTwelveMonthsThatBecameOverThirtyDaysPastDueTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for troubled debt restructurings on financing receivables within the previous twelve months that became over thirty days past due.",
        "label": "Troubled Debt Restructurings on Financing Receivables with in Previous Twelve Months that Became Over Thirty Days Past Due [Table Text Block]"
       }
      }
     },
     "localname": "TroubledDebtRestructuringsOnFinancingReceivablesWithInPreviousTwelveMonthsThatBecameOverThirtyDaysPastDueTableTextBlock",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mbwm_TrustPreferredSecuritiesIncludedInTierOneCapital": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trust preferred securities held by the trust that are included in Tier One Capital and subject to certain limitations.",
        "label": "mbwm_TrustPreferredSecuritiesIncludedInTierOneCapital",
        "terseLabel": "Trust Preferred Securities Included in Tier One Capital"
       }
      }
     },
     "localname": "TrustPreferredSecuritiesIncludedInTierOneCapital",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mbwm_UsGovernmentAgencyDebtObligationsAndMortgageBackedSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This category includes information about debt securities issued by the United states and securities which are mortgage backed.",
        "label": "US Government Agency Debt Obligations and Mortgage Backed Securities [Member]"
       }
      }
     },
     "localname": "UsGovernmentAgencyDebtObligationsAndMortgageBackedSecuritiesMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_VacantLandAndLandDevelopmentAndResidentialConstructionLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Segment of the company's total financing receivables related to vacant land and land development and residential construction receivables.",
        "label": "Vacant Land and Land Development and Residential Construction Loan [Member]"
       }
      }
     },
     "localname": "VacantLandAndLandDevelopmentAndResidentialConstructionLoanMember",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "mbwm_WeightedAverageYieldOfSecuritiesPortfolio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate weighted average yield of a securities portfolio.",
        "label": "Total available for sale securities, weighted average yield"
       }
      }
     },
     "localname": "WeightedAverageYieldOfSecuritiesPortfolio",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_WeightedAverageYieldOfSecuritiesPortfolioDueAftertenYears": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average yield of a securities portfolio with due dates after 10 years.",
        "label": "Due in 2034 and beyond, Weighted Average Yield"
       }
      }
     },
     "localname": "WeightedAverageYieldOfSecuritiesPortfolioDueAftertenYears",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_WeightedAverageYieldOfSecuritiesPortfolioDueFromFiveToTenYears": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average yield of a securities portfolio with due dates before 5 years and before 10 years.",
        "label": "Due in 2029 through 2033, Weighted Average Yield"
       }
      }
     },
     "localname": "WeightedAverageYieldOfSecuritiesPortfolioDueFromFiveToTenYears",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_WeightedAverageYieldOfSecuritiesPortfolioDueFromOneToFiveYears": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average yield of a securities portfolio with due dates after 1 year and before 5 years.",
        "label": "Due in 2024 through 2028, Weighted Average Yield"
       }
      }
     },
     "localname": "WeightedAverageYieldOfSecuritiesPortfolioDueFromOneToFiveYears",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_WeightedAverageYieldOfSecuritiesPortfolioDueInOneYearOrLess": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average yield of securities portfolio with due dates in less than 1 year.",
        "label": "Due in 2023, Weighted Average Yield"
       }
      }
     },
     "localname": "WeightedAverageYieldOfSecuritiesPortfolioDueInOneYearOrLess",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_WeightedAverageYieldOfSecuritiesPortfolioNoSingleMaturity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average yield of a securities portfolio with no single maturity date defined.",
        "label": "No single maturity, weighted average yield"
       }
      }
     },
     "localname": "WeightedAverageYieldOfSecuritiesPortfolioNoSingleMaturity",
     "nsuri": "http://www.mercbank.com/20230331",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "percentItemType"
    },
    "mbwm_statement-statement-note-1-significant-accounting-policies-noninterest-income-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 1 - Significant Accounting Policies - Noninterest Income (Details)"
       }
      }
     },
     "localname": "statement-statement-note-1-significant-accounting-policies-noninterest-income-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-1-significant-accounting-policies-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 1 - Significant Accounting Policies"
       }
      }
     },
     "localname": "statement-statement-note-1-significant-accounting-policies-tables",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 10 - Fair Values of Financial Instruments - Fair Value Hierarchy of Financial Instruments (Details)"
       }
      }
     },
     "localname": "statement-statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-10-fair-values-of-financial-instruments-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 10 - Fair Values of Financial Instruments"
       }
      }
     },
     "localname": "statement-statement-note-10-fair-values-of-financial-instruments-tables",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 11 - Fair Values - Assets and Liabilities Measured at Fair Value on a Nonrecurring Basis (Details)"
       }
      }
     },
     "localname": "statement-statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 11 - Fair Values - Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)"
       }
      }
     },
     "localname": "statement-statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-11-fair-values-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 11 - Fair Values"
       }
      }
     },
     "localname": "statement-statement-note-11-fair-values-tables",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 12 - Regulatory Matters - Actual Capital Levels and Minimum Levels (Details)"
       }
      }
     },
     "localname": "statement-statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-12-regulatory-matters-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 12 - Regulatory Matters"
       }
      }
     },
     "localname": "statement-statement-note-12-regulatory-matters-tables",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-2-securities-availableforsale-securities-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Securities - Available-for-sale Securities (Details)"
       }
      }
     },
     "localname": "statement-statement-note-2-securities-availableforsale-securities-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-2-securities-debt-securities-by-maturity-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Securities - Debt Securities by Maturity (Details)"
       }
      }
     },
     "localname": "statement-statement-note-2-securities-debt-securities-by-maturity-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-2-securities-securities-in-a-continuous-loss-position-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Securities - Securities in a Continuous Loss Position (Details)"
       }
      }
     },
     "localname": "statement-statement-note-2-securities-securities-in-a-continuous-loss-position-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-2-securities-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Securities"
       }
      }
     },
     "localname": "statement-statement-note-2-securities-tables",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Loans and Allowance for Credit Losses - Activity in Allowance for Loan Losses and the Recorded Investments in Loans (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Loans and Allowance for Credit Losses - Age Analysis of Past Due Loans (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Loans and Allowance for Credit Losses - Components of Loan Portfolio (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Loans and Allowance for Credit Losses - Loan Vintage (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Loans and Allowance for Credit Losses - Loans Modified as Troubled Debt Restructurings (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Loans and Allowance for Credit Losses - Nonperforming Loans (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-3-loans-and-allowance-for-credit-losses-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Loans and Allowance for Credit Losses"
       }
      }
     },
     "localname": "statement-statement-note-3-loans-and-allowance-for-credit-losses-tables",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Loans and Allowance for Loan Losses - Activity for Troubled Debt Restructurings (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Loans and Allowance for Loan Losses - Loans Modified As Troubled Debt Restructurings Within the Previous Twelve Months That Became Over 30 Days Past Due (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Loans and Allowance for Loan Losses - Nonaccrual Loans (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-4-premises-and-equipment-net-future-lease-payments-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Premises and Equipment, Net - Future Lease Payments (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-premises-and-equipment-net-future-lease-payments-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Premises and Equipment, Net - Summary of Premises and Equipment (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-4-premises-and-equipment-net-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Premises and Equipment, Net"
       }
      }
     },
     "localname": "statement-statement-note-4-premises-and-equipment-net-tables",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-5-deposits-summary-of-deposits-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Deposits - Summary of Deposits (Details)"
       }
      }
     },
     "localname": "statement-statement-note-5-deposits-summary-of-deposits-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-5-deposits-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Deposits"
       }
      }
     },
     "localname": "statement-statement-note-5-deposits-tables",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-6-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreement-to-repurchase-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Securities Sold Under Agreements to Repurchase - Securities Sold Under Agreement to Repurchase (Details)"
       }
      }
     },
     "localname": "statement-statement-note-6-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreement-to-repurchase-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-6-securities-sold-under-agreements-to-repurchase-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Securities Sold Under Agreements to Repurchase"
       }
      }
     },
     "localname": "statement-statement-note-6-securities-sold-under-agreements-to-repurchase-tables",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 7 - Federal Home Loan Bank of Indianapolis Advances - Maturities of Currently Outstanding FHLB Advances (Details)"
       }
      }
     },
     "localname": "statement-statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 7 - Federal Home Loan Bank of Indianapolis Advances - Maturities of Currently Outstanding FHLBI Amortizing Advances (Details)"
       }
      }
     },
     "localname": "statement-statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-7-federal-home-loan-bank-of-indianapolis-advances-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 7 - Federal Home Loan Bank of Indianapolis Advances"
       }
      }
     },
     "localname": "statement-statement-note-7-federal-home-loan-bank-of-indianapolis-advances-tables",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 8 - Commitments and Off-balance Sheet Risk - Exposure to Credit Losses (Details)"
       }
      }
     },
     "localname": "statement-statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-8-commitments-and-offbalance-sheet-risk-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 8 - Commitments and Off-balance Sheet Risk"
       }
      }
     },
     "localname": "statement-statement-note-8-commitments-and-offbalance-sheet-risk-tables",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 9 - Derivatives and Hedging Activities - Fair Value of Derivative Instruments (Details)"
       }
      }
     },
     "localname": "statement-statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-note-9-derivatives-and-hedging-activities-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 9 - Derivatives and Hedging Activities"
       }
      }
     },
     "localname": "statement-statement-note-9-derivatives-and-hedging-activities-tables",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "mbwm_statement-statement-significant-accounting-policies-policies": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Significant Accounting Policies"
       }
      }
     },
     "localname": "statement-statement-significant-accounting-policies-policies",
     "nsuri": "http://www.mercbank.com/20230331",
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesAxis": {
     "auth_ref": [
      "r262",
      "r494",
      "r495",
      "r496",
      "r497",
      "r567",
      "r761",
      "r892",
      "r895",
      "r896"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Axis]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesDomain": {
     "auth_ref": [
      "r262",
      "r494",
      "r495",
      "r496",
      "r497",
      "r567",
      "r761",
      "r892",
      "r895",
      "r896"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Domain]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember": {
     "auth_ref": [
      "r218",
      "r268",
      "r275",
      "r281",
      "r361",
      "r367",
      "r480",
      "r481",
      "r482",
      "r488",
      "r489",
      "r503",
      "r505",
      "r506",
      "r508",
      "r509",
      "r510",
      "r515",
      "r518",
      "r520",
      "r521",
      "r564"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption, Adjustment [Member]"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionAdjustmentMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionAxis": {
     "auth_ref": [
      "r218",
      "r268",
      "r275",
      "r281",
      "r361",
      "r367",
      "r480",
      "r481",
      "r482",
      "r488",
      "r489",
      "r503",
      "r505",
      "r506",
      "r508",
      "r509",
      "r510",
      "r515",
      "r518",
      "r520",
      "r521",
      "r564"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption [Axis]"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionDomain": {
     "auth_ref": [
      "r218",
      "r268",
      "r275",
      "r281",
      "r361",
      "r367",
      "r480",
      "r481",
      "r482",
      "r488",
      "r489",
      "r503",
      "r505",
      "r506",
      "r508",
      "r509",
      "r510",
      "r515",
      "r518",
      "r520",
      "r521",
      "r564"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption [Domain]"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis": {
     "auth_ref": [
      "r919"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Bank Branch [Axis]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_FederalHomeLoanBankAdvancesBranchOfFHLBBankStateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Bank Branch [Domain]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesBranchOfFHLBBankStateDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_FederalHomeLoanBankOfIndianapolisMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Bank of Indianapolis [Member]"
       }
      }
     },
     "localname": "FederalHomeLoanBankOfIndianapolisMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r402",
      "r403",
      "r404",
      "r405",
      "r451",
      "r606",
      "r663",
      "r689",
      "r690",
      "r741",
      "r742",
      "r743",
      "r744",
      "r755",
      "r762",
      "r763",
      "r774",
      "r791",
      "r796",
      "r800",
      "r897",
      "r910",
      "r911",
      "r912",
      "r913",
      "r914",
      "r915"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r402",
      "r403",
      "r404",
      "r405",
      "r451",
      "r606",
      "r663",
      "r689",
      "r690",
      "r741",
      "r742",
      "r743",
      "r744",
      "r755",
      "r762",
      "r763",
      "r774",
      "r791",
      "r796",
      "r800",
      "r897",
      "r910",
      "r911",
      "r912",
      "r913",
      "r914",
      "r915"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r305",
      "r607",
      "r657",
      "r658",
      "r659",
      "r660",
      "r661",
      "r662",
      "r766",
      "r792",
      "r799",
      "r824",
      "r889",
      "r890",
      "r899",
      "r921"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Axis]"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-noninterest-income-details"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r305",
      "r607",
      "r657",
      "r658",
      "r659",
      "r660",
      "r661",
      "r662",
      "r766",
      "r792",
      "r799",
      "r824",
      "r889",
      "r890",
      "r899",
      "r921"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Domain]"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-noninterest-income-details"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r402",
      "r403",
      "r404",
      "r405",
      "r444",
      "r451",
      "r476",
      "r477",
      "r478",
      "r577",
      "r606",
      "r663",
      "r689",
      "r690",
      "r741",
      "r742",
      "r743",
      "r744",
      "r755",
      "r762",
      "r763",
      "r774",
      "r791",
      "r796",
      "r800",
      "r803",
      "r887",
      "r897",
      "r911",
      "r912",
      "r913",
      "r914",
      "r915"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r402",
      "r403",
      "r404",
      "r405",
      "r444",
      "r451",
      "r476",
      "r477",
      "r478",
      "r577",
      "r606",
      "r663",
      "r689",
      "r690",
      "r741",
      "r742",
      "r743",
      "r744",
      "r755",
      "r762",
      "r763",
      "r774",
      "r791",
      "r796",
      "r800",
      "r803",
      "r887",
      "r897",
      "r911",
      "r912",
      "r913",
      "r914",
      "r915"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioForecastMember": {
     "auth_ref": [
      "r452",
      "r851"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forecast [Member]"
       }
      }
     },
     "localname": "ScenarioForecastMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [
      "r281",
      "r452",
      "r822",
      "r851"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]"
       }
      }
     },
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r281",
      "r452",
      "r822",
      "r823",
      "r851"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]"
       }
      }
     },
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_WeightedAverageMember": {
     "auth_ref": [
      "r762",
      "r763",
      "r910",
      "r912",
      "r915"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average [Member]"
       }
      }
     },
     "localname": "WeightedAverageMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountingStandardsUpdate201613Member": {
     "auth_ref": [
      "r357"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standards Update 2016-13 Financial Instruments-Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments.",
        "label": "Accounting Standards Update 2016-13 [Member]"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201613Member",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccruedLiabilitiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r108"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities.",
        "label": "us-gaap_AccruedLiabilitiesCurrentAndNoncurrent",
        "verboseLabel": "Accrued interest and other liabilities"
       }
      }
     },
     "localname": "AccruedLiabilitiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r75",
      "r223",
      "r649"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details": {
       "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": "Less: accumulated depreciation"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r44",
      "r45",
      "r127",
      "r228",
      "r646",
      "r671",
      "r675"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax, of accumulated increase (decrease) in equity from transaction and other event and circumstance from nonowner source.",
        "label": "Accumulated other comprehensive income (loss)"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r3",
      "r19",
      "r45",
      "r505",
      "r508",
      "r566",
      "r666",
      "r667",
      "r836",
      "r837",
      "r838",
      "r848",
      "r849",
      "r850"
     ],
     "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": "AOCI Attributable to Parent [Member]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife": {
     "auth_ref": [
      "r139"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average amortization period of finite-lived intangible assets acquired either individually or as part of a group of assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife",
        "terseLabel": "Acquired Finite-lived Intangible Assets, Weighted Average Useful Life (Year)"
       }
      }
     },
     "localname": "AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_AdjustmentsForNewAccountingPronouncementsAxis": {
     "auth_ref": [
      "r216",
      "r217",
      "r218",
      "r219",
      "r220",
      "r269",
      "r270",
      "r271",
      "r272",
      "r281",
      "r319",
      "r320",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r401",
      "r480",
      "r481",
      "r482",
      "r486",
      "r487",
      "r488",
      "r489",
      "r491",
      "r492",
      "r493",
      "r500",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r520",
      "r521",
      "r522",
      "r523",
      "r533",
      "r534",
      "r538",
      "r539",
      "r540",
      "r541",
      "r549",
      "r550",
      "r553",
      "r554",
      "r555",
      "r556",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r609",
      "r610",
      "r611",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by amendment to accounting standards.",
        "label": "Accounting Standards Update [Axis]"
       }
      }
     },
     "localname": "AdjustmentsForNewAccountingPronouncementsAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "auth_ref": [
      "r77",
      "r78",
      "r453"
     ],
     "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": "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
        "terseLabel": "Stock-based compensation expense"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to reconcile net income to net cash from operating activities"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r65",
      "r881"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table Text Block]"
       }
      }
     },
     "localname": "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease": {
     "auth_ref": [
      "r881"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in allowance for credit loss on accounts receivable.",
        "label": "us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease",
        "terseLabel": "Accounts Receivable, Allowance for Credit Loss, Period Increase (Decrease)"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "auth_ref": [
      "r289"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.",
        "label": "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
        "terseLabel": "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount (in shares)"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r155",
      "r226",
      "r257",
      "r292",
      "r299",
      "r303",
      "r356",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r413",
      "r414",
      "r494",
      "r496",
      "r537",
      "r642",
      "r712",
      "r798",
      "r814",
      "r893",
      "r894",
      "r908"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "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": "us-gaap_Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ASSETS"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r97"
     ],
     "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": "Total",
        "terseLabel": "Total assets"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax": {
     "auth_ref": [
      "r328"
     ],
     "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": "Securities available for sale, gross unrealized gains"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax": {
     "auth_ref": [
      "r329"
     ],
     "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": "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
        "negatedLabel": "Securities available for sale, gross unrealized losses"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis": {
     "auth_ref": [
      "r325",
      "r386",
      "r640"
     ],
     "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": "Total available for sale securities, Amortized Cost",
        "terseLabel": "Debt Securities, Available-for-Sale, Amortized Cost",
        "verboseLabel": "Securities available for sale, amortized cost"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAmortizedCostBasis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost": {
     "auth_ref": [
      "r870"
     ],
     "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": "Due in 2029 through 2033, Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue": {
     "auth_ref": [
      "r334",
      "r627"
     ],
     "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": "Due in 2029 through 2033, Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost": {
     "auth_ref": [
      "r871"
     ],
     "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": "Due in 2034 and beyond, Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue": {
     "auth_ref": [
      "r335",
      "r628"
     ],
     "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": "Due in 2034 and beyond, Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRemainderOfFiscalYearAmortizedCostBasis": {
     "auth_ref": [
      "r867"
     ],
     "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 remainder of current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Due in 2023, Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesRemainderOfFiscalYearAmortizedCostBasis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRemainderOfFiscalYearFairValue": {
     "auth_ref": [],
     "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 remainder of current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Due in 2023, Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesRemainderOfFiscalYearFairValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost": {
     "auth_ref": [
      "r866",
      "r867"
     ],
     "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": "No single maturity, amortized cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue": {
     "auth_ref": [
      "r331",
      "r626",
      "r866"
     ],
     "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": "No single maturity, fair value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecurities": {
     "auth_ref": [
      "r326",
      "r386",
      "r620",
      "r858"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "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": "Securities available for sale",
        "netLabel": "Securities available for sale",
        "terseLabel": "Debt Securities, Available-for-Sale",
        "verboseLabel": "Securities available for sale, fair value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableforsaleSecuritiesMember": {
     "auth_ref": [
      "r189"
     ],
     "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": "Available-for-Sale Securities [Member]"
       }
      }
     },
     "localname": "AvailableforsaleSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459",
      "r460",
      "r461",
      "r462",
      "r463",
      "r464",
      "r465",
      "r466",
      "r467",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r83",
      "r88"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BankOwnedLifeInsurance": {
     "auth_ref": [
      "r916"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of a life insurance policy on an officer, executive or employee for which the reporting entity (a bank) is entitled to proceeds from the policy upon death of the insured or surrender of the insurance policy.",
        "label": "Bank owned life insurance"
       }
      }
     },
     "localname": "BankOwnedLifeInsurance",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BankOwnedLifeInsuranceIncome": {
     "auth_ref": [
      "r168"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Earnings on or other increases in the value of the cash surrender value of bank owned life insurance policies.",
        "label": "Earnings on bank owned life insurance",
        "negatedLabel": "Earnings on bank owned life insurance"
       }
      }
     },
     "localname": "BankOwnedLifeInsuranceIncome",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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]"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BuildingMember": {
     "auth_ref": [
      "r142"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Facility held for productive use including, but not limited to, office, production, storage and distribution facilities.",
        "label": "Building [Member]"
       }
      }
     },
     "localname": "BuildingMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Capital": {
     "auth_ref": [
      "r633"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of total capital as defined by regulatory framework.",
        "label": "Total capital, amount"
       }
      }
     },
     "localname": "Capital",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalRequiredForCapitalAdequacy": {
     "auth_ref": [
      "r633",
      "r637"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of minimum total risk-based capital required for capital adequacy as defined by regulatory framework.",
        "label": "Total capital minimum required for capital adequacy, amount"
       }
      }
     },
     "localname": "CapitalRequiredForCapitalAdequacy",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets": {
     "auth_ref": [
      "r633",
      "r637"
     ],
     "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": "Total capital minimum required for capital adequacy, ratio",
        "terseLabel": "Capital Required for Capital Adequacy to Risk Weighted Assets"
       }
      }
     },
     "localname": "CapitalRequiredForCapitalAdequacyToRiskWeightedAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_CapitalRequiredToBeWellCapitalized": {
     "auth_ref": [
      "r633"
     ],
     "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": "Total capital to be well capitalized, amount"
       }
      }
     },
     "localname": "CapitalRequiredToBeWellCapitalized",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalRequiredToBeWellCapitalizedToRiskWeightedAssets": {
     "auth_ref": [
      "r633"
     ],
     "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": "Total capital to be well capitalized, ratio"
       }
      }
     },
     "localname": "CapitalRequiredToBeWellCapitalizedToRiskWeightedAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_CapitalToRiskWeightedAssets": {
     "auth_ref": [
      "r633"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of total risk-based capital to risk-weighted assets as defined by regulatory framework.",
        "label": "Total capital, ratio"
       }
      }
     },
     "localname": "CapitalToRiskWeightedAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "auth_ref": [
      "r99",
      "r100"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured as reported on the statement of financial position (balance sheet).",
        "label": "Reported Value Measurement [Member]"
       }
      }
     },
     "localname": "CarryingReportedAmountFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndCashEquivalentsFairValueDisclosure": {
     "auth_ref": [],
     "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": "us-gaap_CashAndCashEquivalentsFairValueDisclosure",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndDueFromBanks": {
     "auth_ref": [
      "r153"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsAndFederalFundsSold",
       "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"
       }
      }
     },
     "localname": "CashAndDueFromBanks",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsAndFederalFundsSold": {
     "auth_ref": [
      "r104"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The sum of cash and cash equivalents plus Federal Funds Sold. Cash and cash equivalents consist of short term, highly liquid investments that are readily convertible to known amounts of cash and are so near their maturity that they present negligible risk of changes in value due to changes in interest rates -- usually with an original maturity less than 90 days.",
        "label": "us-gaap_CashCashEquivalentsAndFederalFundsSold",
        "totalLabel": "Total cash and cash equivalents"
       }
      }
     },
     "localname": "CashCashEquivalentsAndFederalFundsSold",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations": {
     "auth_ref": [
      "r54",
      "r132",
      "r255"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including, but not limited to, 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": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
        "periodEndLabel": "Cash and cash equivalents at end of period",
        "periodStartLabel": "Cash and cash equivalents at beginning of period"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r2",
      "r132"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "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": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
        "totalLabel": "Net change in cash and cash equivalents"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CollateralAxis": {
     "auth_ref": [
      "r778"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CollateralDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category of collateral or no collateral, from lender's perspective.",
        "label": "Collateral Held [Domain]"
       }
      }
     },
     "localname": "CollateralDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "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]"
       }
      }
     },
     "localname": "CommercialPortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommercialRealEstateMember": {
     "auth_ref": [
      "r774",
      "r780",
      "r901"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Property that is solely used for business purposes.",
        "label": "Commercial Real Estate [Member]"
       }
      }
     },
     "localname": "CommercialRealEstateMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r41",
      "r110",
      "r643",
      "r698"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and contingent liabilities (Note 8)"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsContingenciesAndGuaranteesTextBlock": {
     "auth_ref": [
      "r143",
      "r144",
      "r888"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments, contingencies, and guarantees.",
        "label": "Commitments Contingencies and Guarantees [Text Block]"
       }
      }
     },
     "localname": "CommitmentsContingenciesAndGuaranteesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonEquityTierOneCapital": {
     "auth_ref": [
      "r633"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Common Equity Tier 1 risk-based capital as defined by regulatory framework.",
        "label": "Common equity tier 1, amount"
       }
      }
     },
     "localname": "CommonEquityTierOneCapital",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommonEquityTierOneCapitalRatio": {
     "auth_ref": [
      "r633"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of Common Equity Tier 1 risk-based capital to risk-weighted assets as defined by regulatory framework.",
        "label": "Common equity tier 1, ratio"
       }
      }
     },
     "localname": "CommonEquityTierOneCapitalRatio",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_CommonEquityTierOneCapitalRequiredForCapitalAdequacy": {
     "auth_ref": [
      "r633",
      "r637"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of minimum Common Equity Tier 1 risk-based capital required for capital adequacy as defined by regulatory framework.",
        "label": "Common equity tier 1 minimum required for capital adequacy, amount"
       }
      }
     },
     "localname": "CommonEquityTierOneCapitalRequiredForCapitalAdequacy",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommonEquityTierOneCapitalRequiredToBeWellCapitalized": {
     "auth_ref": [
      "r633"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of minimum Common Equity Tier 1 risk-based capital categorized as well capitalized as defined by regulatory framework for prompt corrective action.",
        "label": "Common equity tier 1 capital to be well capitalized, amount"
       }
      }
     },
     "localname": "CommonEquityTierOneCapitalRequiredToBeWellCapitalized",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommonStockDividendsPerShareCashPaid": {
     "auth_ref": [
      "r145"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate dividends paid during the period for each share of common stock outstanding.",
        "label": "Cash dividends per common share (in dollars per share)",
        "terseLabel": "Common Stock, Dividends, Per Share, Cash Paid (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockDividendsPerShareCashPaid",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events-details-textual"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockDividendsPerShareDeclared": {
     "auth_ref": [
      "r145"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate dividends declared during the period for each share of common stock outstanding.",
        "label": "us-gaap_CommonStockDividendsPerShareDeclared",
        "terseLabel": "Common Stock, Dividends, Per Share, Declared (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockDividendsPerShareDeclared",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events-details-textual"
     ],
     "xbrltype": "perShareItemType"
    },
    "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]"
       }
      }
     },
     "localname": "CommonStockIncludingAdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockNoParValue": {
     "auth_ref": [
      "r121"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount per share of no-par value common stock.",
        "label": "Common stock, par value (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockNoParValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r121",
      "r699"
     ],
     "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 (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r20",
      "r121",
      "r699",
      "r718",
      "r928",
      "r929"
     ],
     "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 (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r121",
      "r645",
      "r798"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common stock, no par value; 40,000,000 shares authorized; 16,001,448 shares outstanding at March 31, 2023 and 15,994,884 shares outstanding at December 31, 2022"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r46",
      "r240",
      "r242",
      "r247",
      "r622",
      "r654"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited": {
       "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": "us-gaap_ComprehensiveIncomeNetOfTax",
        "totalLabel": "Comprehensive income (loss)"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConsolidatedEntitiesMember": {
     "auth_ref": [
      "r613",
      "r614",
      "r615",
      "r616",
      "r617",
      "r618"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entities which have been consolidated for financial statement presentation purposes.",
        "label": "Consolidated Entities [Member]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding": {
     "auth_ref": [
      "r580"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principal amount of transferred financial assets in which the transferor has continuing involvement with the assets underlying the transaction. Continuing involvement includes, but is not limited to, servicing, recourse, and restrictions on transferor's interests in transferred financial assets.",
        "label": "us-gaap_ContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding",
        "terseLabel": "Continuing Involvement with Transferred Financial Assets, Principal Amount Outstanding"
       }
      }
     },
     "localname": "ContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CoreDepositsMember": {
     "auth_ref": [
      "r114"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity's long-term relationships with depositors, commonly known as core deposit intangibles, which are separate from the financial instruments themselves.",
        "label": "Core Deposits [Member]"
       }
      }
     },
     "localname": "CoreDepositsMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CreditAndDebitCardMember": {
     "auth_ref": [
      "r900"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Card issued to user to facilitate payment for purchase of product and service paid directly to merchant by issuer, or from user's checking account.",
        "label": "Credit and Debit Card [Member]"
       }
      }
     },
     "localname": "CreditAndDebitCardMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-noninterest-income-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CreditFacilityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Axis]"
       }
      }
     },
     "localname": "CreditFacilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditFacilityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Domain]"
       }
      }
     },
     "localname": "CreditFacilityDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r33",
      "r118",
      "r119",
      "r156",
      "r157",
      "r262",
      "r415",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r552",
      "r786",
      "r787",
      "r788",
      "r789",
      "r790",
      "r846"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentInterestRateDuringPeriod": {
     "auth_ref": [
      "r39",
      "r101",
      "r427"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average effective interest rate during the reporting period.",
        "label": "Average interest rate during the period"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreement-to-repurchase-details"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r40",
      "r262",
      "r415",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r552",
      "r786",
      "r787",
      "r788",
      "r789",
      "r790",
      "r846"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss": {
     "auth_ref": [
      "r327",
      "r386",
      "r394",
      "r395"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss",
        "terseLabel": "Debt Securities, Available-for-Sale, Allowance for Credit Loss"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleAllowanceForCreditLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger": {
     "auth_ref": [
      "r188",
      "r391",
      "r784"
     ],
     "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": "Securities available for sale, continuous unrealized loss position, 12 months or more"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "auth_ref": [
      "r188",
      "r391"
     ],
     "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": "Securities available for sale, continuous unrealized loss position, 12 months or more, unrealized loss"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months": {
     "auth_ref": [
      "r188",
      "r391",
      "r784"
     ],
     "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": "Securities available for sale, continuous unrealized loss position, less than 12 months"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "auth_ref": [
      "r188",
      "r391"
     ],
     "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": "Securities available for sale, continuous unrealized loss position, less than 12 months, unrealized loss"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRestricted": {
     "auth_ref": [
      "r586",
      "r759",
      "r760"
     ],
     "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": "us-gaap_DebtSecuritiesAvailableForSaleRestricted",
        "terseLabel": "Debt Securities, Available-for-Sale, Restricted"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleRestricted",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock": {
     "auth_ref": [
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868",
      "r869",
      "r870",
      "r871",
      "r875"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of 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 Text Block]"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition": {
     "auth_ref": [
      "r185",
      "r388",
      "r784"
     ],
     "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": "Securities available for sale, continuous unrealized loss position",
        "terseLabel": "Debt Securities, Available-for-Sale, Unrealized Loss Position"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss": {
     "auth_ref": [
      "r186",
      "r389"
     ],
     "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": "Securities available for sale, continuous unrealized loss position, unrealized loss",
        "terseLabel": "Debt Securities, Available-for-Sale, Unrealized Loss Position, Accumulated Loss"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock": {
     "auth_ref": [
      "r184",
      "r784",
      "r884"
     ],
     "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]"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions": {
     "auth_ref": [
      "r187",
      "r390"
     ],
     "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": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
        "terseLabel": "Debt Securities, Available-for-Sale, Unrealized Loss Position, Number of Positions"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_DeferredIncomeTaxAssetsNet": {
     "auth_ref": [
      "r483",
      "r484"
     ],
     "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": "us-gaap_DeferredIncomeTaxAssetsNet",
        "terseLabel": "Deferred Income Tax Assets, Net"
       }
      }
     },
     "localname": "DeferredIncomeTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositLiabilitiesDisclosuresTextBlock": {
     "auth_ref": [
      "r13",
      "r105",
      "r214",
      "r215"
     ],
     "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]"
       }
      }
     },
     "localname": "DepositLiabilitiesDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Deposits": {
     "auth_ref": [
      "r105"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "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": "us-gaap_Deposits",
        "terseLabel": "Deposits",
        "totalLabel": "Total deposits"
       }
      }
     },
     "localname": "Deposits",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositsFairValueDisclosure": {
     "auth_ref": [],
     "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": "us-gaap_DepositsFairValueDisclosure",
        "terseLabel": "Deposits"
       }
      }
     },
     "localname": "DepositsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Depreciation": {
     "auth_ref": [
      "r8",
      "r74"
     ],
     "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": "us-gaap_Depreciation",
        "terseLabel": "Depreciation"
       }
      }
     },
     "localname": "Depreciation",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationAmortizationAndAccretionNet": {
     "auth_ref": [
      "r8"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate net amount of depreciation, amortization, and accretion recognized during an accounting period. As a noncash item, the net amount is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Depreciation and amortization"
       }
      }
     },
     "localname": "DepreciationAmortizationAndAccretionNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssets": {
     "auth_ref": [
      "r231",
      "r234",
      "r536",
      "r681",
      "r682",
      "r683",
      "r684",
      "r685",
      "r686",
      "r687",
      "r688",
      "r689",
      "r690",
      "r705",
      "r706",
      "r745",
      "r748",
      "r750",
      "r751",
      "r753",
      "r754",
      "r768",
      "r803",
      "r926"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Assets Interest rate swaps",
        "terseLabel": "Interest rate swaps"
       }
      }
     },
     "localname": "DerivativeAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeCollateralRightToReclaimCash": {
     "auth_ref": [
      "r30",
      "r94",
      "r232",
      "r767"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of right to receive cash collateral under master netting arrangements that have not been offset against derivative liabilities.",
        "label": "us-gaap_DerivativeCollateralRightToReclaimCash",
        "terseLabel": "Derivative Liability, Subject to Master Netting Arrangement, Collateral, Right to Reclaim Cash Not Offset"
       }
      }
     },
     "localname": "DerivativeCollateralRightToReclaimCash",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [
      "r688",
      "r690",
      "r704",
      "r705",
      "r706",
      "r708",
      "r709",
      "r710",
      "r711",
      "r713",
      "r714",
      "r715",
      "r716",
      "r726",
      "r727",
      "r728",
      "r729",
      "r732",
      "r733",
      "r734",
      "r735",
      "r745",
      "r746",
      "r750",
      "r753",
      "r801",
      "r803"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract [Domain]"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAsset": {
     "auth_ref": [
      "r27",
      "r86",
      "r126",
      "r230",
      "r768"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement.",
        "label": "us-gaap_DerivativeFairValueOfDerivativeAsset",
        "terseLabel": "Derivative Asset, Subject to Master Netting Arrangement, before Offset"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAsset",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral": {
     "auth_ref": [
      "r26",
      "r29",
      "r32",
      "r95"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after offset of derivative asset, of financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, elected not to be and before offset against a right to receive collateral under a master netting arrangement. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement.",
        "label": "us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral",
        "terseLabel": "Derivative Liability, Subject to Master Netting Arrangement, before Offset of Collateral"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r84",
      "r87",
      "r89",
      "r90",
      "r688",
      "r690",
      "r704",
      "r705",
      "r706",
      "r708",
      "r709",
      "r710",
      "r711",
      "r713",
      "r714",
      "r715",
      "r716",
      "r726",
      "r727",
      "r728",
      "r729",
      "r732",
      "r733",
      "r734",
      "r735",
      "r745",
      "r746",
      "r750",
      "r753",
      "r768",
      "r801",
      "r803"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "auth_ref": [
      "r147",
      "r499",
      "r511"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts.",
        "label": "Derivative Instruments and Hedging Activities Disclosure [Text Block]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativeLiabilities": {
     "auth_ref": [
      "r231",
      "r234",
      "r536",
      "r681",
      "r682",
      "r683",
      "r684",
      "r686",
      "r687",
      "r688",
      "r689",
      "r690",
      "r713",
      "r715",
      "r716",
      "r746",
      "r747",
      "r748",
      "r750",
      "r751",
      "r753",
      "r754",
      "r768",
      "r926"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liabilities Interest rate swaps",
        "terseLabel": "Interest rate swaps"
       }
      }
     },
     "localname": "DerivativeLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityAfterOffsetSubjectToMasterNettingArrangement": {
     "auth_ref": [
      "r231",
      "r768"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after effect of master netting arrangement, of financial liability or contract with one or more underlyings, notional amount or payment provision or both, and contract can be net settled by means outside contract or delivery of asset. Includes derivative subject to master netting arrangement not elected or qualified to offset. Excludes derivative not subject to master netting arrangement or similar agreement.",
        "label": "us-gaap_DerivativeLiabilityAfterOffsetSubjectToMasterNettingArrangement",
        "terseLabel": "Derivative Liability, Subject to Master Netting Arrangement, after Offset"
       }
      }
     },
     "localname": "DerivativeLiabilityAfterOffsetSubjectToMasterNettingArrangement",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset": {
     "auth_ref": [
      "r9",
      "r25"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of right to receive cash collateral under master netting arrangements offset against derivative liabilities.",
        "label": "us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset",
        "terseLabel": "Derivative Liability, Subject to Master Netting Arrangement, Collateral, Right to Reclaim Cash Offset"
       }
      }
     },
     "localname": "DerivativeLiabilityCollateralRightToReclaimCashOffset",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityFairValueAfterOffsetAndDeductionSubjectToMasterNettingArrangement": {
     "auth_ref": [
      "r233",
      "r768"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after effect of master netting arrangement and deduction of obligation to return financial collateral not offset and financial instrument subject to master netting arrangement not offset, of financial liability or contract with one or more underlyings, notional amount or payment provision or both, and contract can be net settled by means outside contract or delivery of asset. Excludes derivative not subject to master netting arrangement or similar agreement.",
        "label": "us-gaap_DerivativeLiabilityFairValueAfterOffsetAndDeductionSubjectToMasterNettingArrangement",
        "terseLabel": "Derivative Liability, Subject to Master Netting Arrangement, after Offset and Deduction"
       }
      }
     },
     "localname": "DerivativeLiabilityFairValueAfterOffsetAndDeductionSubjectToMasterNettingArrangement",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityFairValueGrossAsset": {
     "auth_ref": [
      "r25",
      "r31",
      "r86",
      "r751",
      "r752",
      "r767"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of asset associated with financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "us-gaap_DerivativeLiabilityFairValueGrossAsset",
        "terseLabel": "Derivative Liability, Subject to Master Netting Arrangement, Asset Offset"
       }
      }
     },
     "localname": "DerivativeLiabilityFairValueGrossAsset",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeNotionalAmount": {
     "auth_ref": [
      "r902",
      "r903"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nominal or face amount used to calculate payment on derivative.",
        "label": "Notional Amount",
        "terseLabel": "Derivative, Notional Amount"
       }
      }
     },
     "localname": "DerivativeNotionalAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativesPolicyTextBlock": {
     "auth_ref": [
      "r21",
      "r79",
      "r80",
      "r82",
      "r92",
      "r261"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for its derivative instruments and hedging activities.",
        "label": "Derivatives, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "DerivativesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureTextBlockAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DisclosureTextBlockAbstract",
        "terseLabel": "Notes to Financial Statements"
       }
      }
     },
     "localname": "DisclosureTextBlockAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DividendsCommonStockCash": {
     "auth_ref": [
      "r145"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash.",
        "label": "us-gaap_DividendsCommonStockCash",
        "negatedLabel": "Cash dividends"
       }
      }
     },
     "localname": "DividendsCommonStockCash",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r248",
      "r273",
      "r274",
      "r275",
      "r276",
      "r277",
      "r282",
      "r284",
      "r286",
      "r287",
      "r288",
      "r290",
      "r521",
      "r522",
      "r623",
      "r655",
      "r771"
     ],
     "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": "Basic earnings per share (in dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r248",
      "r273",
      "r274",
      "r275",
      "r276",
      "r277",
      "r284",
      "r286",
      "r287",
      "r288",
      "r290",
      "r521",
      "r522",
      "r623",
      "r655",
      "r771"
     ],
     "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": "Diluted earnings per share (in dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "auth_ref": [
      "r61",
      "r62"
     ],
     "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]"
       }
      }
     },
     "localname": "EarningsPerSharePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
        "label": "Share-Based Payment Arrangement, Option [Member]"
       }
      }
     },
     "localname": "EmployeeStockOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquipmentExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 2.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": "Furniture and equipment depreciation, rent and maintenance"
       }
      }
     },
     "localname": "EquipmentExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r20",
      "r218",
      "r243",
      "r244",
      "r245",
      "r265",
      "r266",
      "r267",
      "r270",
      "r278",
      "r280",
      "r291",
      "r361",
      "r367",
      "r433",
      "r480",
      "r481",
      "r482",
      "r488",
      "r489",
      "r503",
      "r505",
      "r506",
      "r507",
      "r508",
      "r510",
      "r520",
      "r542",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r566",
      "r666",
      "r667",
      "r668",
      "r679",
      "r738"
     ],
     "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]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r423",
      "r536",
      "r787",
      "r788"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured as an estimate of fair value.",
        "label": "Estimate of Fair Value Measurement [Member]"
       }
      }
     },
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisValuationTechniquesTextBlock": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of input and valuation technique used to measure fair value and change in valuation approach and technique used to measure similar asset in prior period by class of asset or liability on non-recurring basis.",
        "label": "Fair Value, Assets and Liabilities Measured on Nonrecurring Basis, Valuation Techniques [Table Text Block]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnNonrecurringBasisValuationTechniquesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "auth_ref": [
      "r23"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of asset.",
        "label": "Asset Class [Domain]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r97",
      "r98"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of asset.",
        "label": "Asset Class [Axis]"
       }
      }
     },
     "localname": "FairValueByAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "auth_ref": [
      "r97",
      "r99"
     ],
     "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]"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r423",
      "r445",
      "r446",
      "r447",
      "r448",
      "r449",
      "r450",
      "r526",
      "r574",
      "r575",
      "r576",
      "r787",
      "r788",
      "r793",
      "r794",
      "r795"
     ],
     "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 and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "auth_ref": [
      "r28",
      "r97",
      "r423",
      "r787",
      "r788"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement basis.",
        "label": "Measurement Basis [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementBasisAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r525",
      "r526",
      "r527",
      "r528",
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Measurement Frequency [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosureOffbalanceSheetRisksAmountLiability": {
     "auth_ref": [
      "r536"
     ],
     "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": "Contractual amounts of financial instruments with off-balance sheet risk"
       }
      }
     },
     "localname": "FairValueDisclosureOffbalanceSheetRisksAmountLiability",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r524"
     ],
     "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]"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r423",
      "r445",
      "r450",
      "r526",
      "r574",
      "r793",
      "r794",
      "r795"
     ],
     "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, Level 1 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r423",
      "r445",
      "r450",
      "r526",
      "r575",
      "r787",
      "r788",
      "r793",
      "r794",
      "r795"
     ],
     "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, Level 2 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r423",
      "r445",
      "r446",
      "r447",
      "r448",
      "r449",
      "r450",
      "r526",
      "r576",
      "r787",
      "r788",
      "r793",
      "r794",
      "r795"
     ],
     "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, Level 3 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations": {
     "auth_ref": [
      "r97",
      "r149"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of subordinated debt obligations including, but not limited to, subordinated loan, subordinated bond, subordinated debenture or junior debt.",
        "label": "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations",
        "terseLabel": "Subordinated debt"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Measurement Frequency [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementInputsDisclosureTextBlock": {
     "auth_ref": [
      "r148"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of the fair value measurement of assets and liabilities, which includes financial instruments measured at fair value that are classified in shareholders' equity, which may be measured on a recurring or nonrecurring basis.",
        "label": "Fair Value Measurement and Measurement Inputs, Recurring and Nonrecurring [Text Block]"
       }
      }
     },
     "localname": "FairValueMeasurementInputsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r423",
      "r445",
      "r446",
      "r447",
      "r448",
      "r449",
      "r450",
      "r574",
      "r575",
      "r576",
      "r787",
      "r788",
      "r793",
      "r794",
      "r795"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsNonrecurringMember": {
     "auth_ref": [
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530"
     ],
     "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, Nonrecurring [Member]"
       }
      }
     },
     "localname": "FairValueMeasurementsNonrecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r524",
      "r530"
     ],
     "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, Recurring [Member]"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FederalFundsPurchased": {
     "auth_ref": [
      "r106"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 4.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"
       }
      }
     },
     "localname": "FederalFundsPurchased",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesDisclosureTextBlock": {
     "auth_ref": [
      "r11",
      "r107",
      "r116",
      "r179"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for borrowing from the Federal Home Loan Bank, including: (i) general description; (ii) title and nature of obligation; (iii) interest rate; (iv) payment terms; (v) maturity dates by year; (vi) collateral requirements; (vii) restrictive covenants; (viii) priority; (ix) conversion or redemption features; (x) carrying value of assets pledged as collateral; (xi) combined aggregate maturities for next five years; (xii) unused or available balances.",
        "label": "Federal Home Loan Bank Advances, Disclosure [Text Block]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresInterestRateAtPeriodEnd": {
     "auth_ref": [
      "r117",
      "r179"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "States the interest rate applicable to Federal Home Loan Bank advances outstanding as of the Balance Sheet date.",
        "label": "us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresInterestRateAtPeriodEnd",
        "terseLabel": "Federal Home Loan Bank, Advances, General Debt Obligations, Disclosures, Interest Rate at Period End"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresInterestRateAtPeriodEnd",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesLongTerm": {
     "auth_ref": [
      "r109",
      "r115",
      "r179"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including both current and noncurrent portions, Federal Home Loan Bank borrowings initially due beyond one year or beyond the normal operating cycle if longer.",
        "label": "Federal Home Loan Bank advances",
        "terseLabel": "Long-Term Federal Home Loan Bank Advances"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesLongTerm",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromOneToTwoYearsOfBalanceSheetDate": {
     "auth_ref": [
      "r11",
      "r179"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advance from Federal Home Loan Bank (FHLBank) 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": "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromOneToTwoYearsOfBalanceSheetDate",
        "verboseLabel": "2025"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromOneToTwoYearsOfBalanceSheetDate",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromThreeToFourYearsOfBalanceSheetDate": {
     "auth_ref": [
      "r11",
      "r179"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advance from Federal Home Loan Bank (FHLBank) 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": "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromThreeToFourYearsOfBalanceSheetDate",
        "verboseLabel": "2027"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromThreeToFourYearsOfBalanceSheetDate",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromTwoToThreeYearsOfBalanceSheetDate": {
     "auth_ref": [
      "r11",
      "r179"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advance from Federal Home Loan Bank (FHLBank) 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": "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromTwoToThreeYearsOfBalanceSheetDate",
        "verboseLabel": "2026"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromTwoToThreeYearsOfBalanceSheetDate",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueInRemainderOfFiscalYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advance from Federal Home Loan Bank (FHLBank) maturing in remainder of current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueInRemainderOfFiscalYear",
        "verboseLabel": "2023"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryDueInRemainderOfFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueWithinOneYearOfBalanceSheetDate": {
     "auth_ref": [
      "r11",
      "r179"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advance from Federal Home Loan Bank (FHLBank) 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": "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueWithinOneYearOfBalanceSheetDate",
        "verboseLabel": "2024"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryDueWithinOneYearOfBalanceSheetDate",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankBorrowingsFairValueDisclosure": {
     "auth_ref": [
      "r159"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of borrowing from Federal Home Loan Bank (FHLBank).",
        "label": "us-gaap_FederalHomeLoanBankBorrowingsFairValueDisclosure",
        "terseLabel": "FHLBI advances"
       }
      }
     },
     "localname": "FederalHomeLoanBankBorrowingsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankStock": {
     "auth_ref": [
      "r178"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "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"
       }
      }
     },
     "localname": "FederalHomeLoanBankStock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FeesAndCommissionsMortgageBankingAndServicing": {
     "auth_ref": [
      "r205"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income from mortgage banking activities (fees and commissions) and servicing real estate mortgages, credit cards, and other financial assets held by others net of any related impairment of capitalized service costs. Also includes any premiums received in lieu of regular servicing fees on such loans only as earned over the life of the loans.",
        "label": "Mortgage banking income"
       }
      }
     },
     "localname": "FeesAndCommissionsMortgageBankingAndServicing",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLoanAndLeaseReceivablesHeldForInvestmentPolicy": {
     "auth_ref": [
      "r137",
      "r181",
      "r182",
      "r183",
      "r309",
      "r310"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for financing receivable classified as held-for-investment.",
        "label": "Financing Receivable, Held-for-Investment [Policy Text Block]"
       }
      }
     },
     "localname": "FinanceLoanAndLeaseReceivablesHeldForInvestmentPolicy",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinanceLoanAndLeaseReceivablesHeldForSalePolicy": {
     "auth_ref": [
      "r181",
      "r183",
      "r195",
      "r310"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for financing receivables classified as held-for-sale.",
        "label": "Financing Receivable, Held-for-Sale [Policy Text Block]"
       }
      }
     },
     "localname": "FinanceLoanAndLeaseReceivablesHeldForSalePolicy",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancialAssetNotPastDueMember": {
     "auth_ref": [
      "r376",
      "r783"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset not past due.",
        "label": "Financial Asset, Not Past Due [Member]"
       }
      }
     },
     "localname": "FinancialAssetNotPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialAssetPastDueMember": {
     "auth_ref": [
      "r376",
      "r783",
      "r857"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset past due.",
        "label": "Financial Asset, Past Due [Member]"
       }
      }
     },
     "localname": "FinancialAssetPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r334",
      "r335",
      "r336",
      "r337",
      "r338",
      "r339",
      "r340",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r353",
      "r369",
      "r370",
      "r376",
      "r377",
      "r382",
      "r387",
      "r392",
      "r393",
      "r431",
      "r432",
      "r511",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r587",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r653",
      "r784",
      "r825",
      "r826",
      "r827",
      "r828",
      "r829",
      "r830",
      "r831",
      "r875",
      "r876",
      "r877",
      "r878"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentPerformanceStatusAxis": {
     "auth_ref": [
      "r883"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by category of performance or non-performance status of financial instruments.",
        "label": "Financial Instrument Performance Status [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentPerformanceStatusAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentPerformanceStatusDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category of performance or non-performance status of financial instruments, including but not limited to, financing receivables, loans, debt, and investments.",
        "label": "Financial Instrument Performance Status [Domain]"
       }
      }
     },
     "localname": "FinancialInstrumentPerformanceStatusDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLosses": {
     "auth_ref": [
      "r14",
      "r209",
      "r211",
      "r213",
      "r229",
      "r368",
      "r371",
      "r375",
      "r917"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NotesReceivableNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on financing receivable. Excludes allowance for financing receivable covered under loss sharing agreement.",
        "label": "us-gaap_FinancingReceivableAllowanceForCreditLosses",
        "negatedLabel": "Allowance for credit losses",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance",
        "terseLabel": "Financing Receivable, Allowance for Credit Loss, Ending Balance"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLosses",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery": {
     "auth_ref": [
      "r17",
      "r374",
      "r782"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in allowance for credit loss on financing receivable from recovery.",
        "label": "Recoveries"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesRecovery",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs": {
     "auth_ref": [
      "r16",
      "r373",
      "r384",
      "r782"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of writeoff of financing receivable, charged against allowance for credit loss.",
        "label": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
        "negatedLabel": "Charge-offs"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesWriteOffs",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff": {
     "auth_ref": [
      "r373",
      "r384"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding accrued interest, of decrease in allowance for credit loss on financing receivable from writeoff. Excludes net investment in lease.",
        "label": "total year-to-date gross write offs"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff": {
     "auth_ref": [
      "r384"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding accrued interest, of writeoff of financing receivable originated more than five years before current fiscal year. Excludes net investment in lease.",
        "label": "Prior, current year-to-date gross write offs"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff": {
     "auth_ref": [
      "r384"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding accrued interest, of writeoff of financing receivable that can be withdrawn, repaid, and redrawn.",
        "label": "Revolving, year-to-date gross write offs"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestRevolvingWriteoff",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff": {
     "auth_ref": [
      "r384"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding accrued interest, of writeoff of financing receivable originated four years before current fiscal year. Excludes net investment in lease.",
        "label": "four years before, Current year-to-date gross write offs"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff": {
     "auth_ref": [
      "r384"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding accrued interest, of writeoff of financing receivable originated three years before current fiscal year. Excludes net investment in lease.",
        "label": "three years before current year-to-date gross write offs"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff": {
     "auth_ref": [
      "r384"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding accrued interest, of writeoff of financing receivable originated in current fiscal year. Excludes net investment in lease.",
        "label": "Current year-to-date gross write offs"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff": {
     "auth_ref": [
      "r384"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding accrued interest, of writeoff of financing receivable originated two years before current fiscal year. Excludes net investment in lease.",
        "label": "Two years before Current year-to-date gross write offs"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff": {
     "auth_ref": [
      "r384"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding accrued interest, of writeoff of financing receivable originated in fiscal year before current fiscal year. Excludes net investment in lease.",
        "label": "One year before year-to-date gross write offs"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2": {
     "auth_ref": [
      "r314",
      "r774",
      "r853"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable modified during period for debtor experiencing financial difficulty.",
        "label": "us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2",
        "terseLabel": "Post- Modification Recorded Principal Balance"
       }
      }
     },
     "localname": "FinancingReceivableModificationsPostModificationRecordedInvestment2",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsRecordedInvestment": {
     "auth_ref": [
      "r138",
      "r853",
      "r855"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated amortized cost of financing receivable modified for debtor experiencing financial difficulty.",
        "label": "us-gaap_FinancingReceivableModificationsRecordedInvestment",
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning Balance",
        "terseLabel": "Financing Receivable, Troubled Debt Restructuring"
       }
      }
     },
     "localname": "FinancingReceivableModificationsRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1": {
     "auth_ref": [
      "r312",
      "r317",
      "r774"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable with payment default in current period and modified within previous 12 months preceding payment default for debtor experiencing financial difficulty.",
        "label": "us-gaap_FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1",
        "terseLabel": "Recorded Principal Balance"
       }
      }
     },
     "localname": "FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableNonaccrualInterestIncome": {
     "auth_ref": [
      "r379"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income on financing receivable on nonaccrual status.",
        "label": "us-gaap_FinancingReceivableNonaccrualInterestIncome",
        "terseLabel": "Financing Receivable, Nonaccrual, Interest Income"
       }
      }
     },
     "localname": "FinancingReceivableNonaccrualInterestIncome",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableNonaccrualNoAllowance": {
     "auth_ref": [
      "r381"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable on nonaccrual status with no allowance for credit loss. Excludes net investment in lease.",
        "label": "With no related allowance recorded, principal balance"
       }
      }
     },
     "localname": "FinancingReceivableNonaccrualNoAllowance",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear": {
     "auth_ref": [
      "r384",
      "r782"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable originated more than five years prior to current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Originated, More than Five Years before Current Fiscal Year"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear": {
     "auth_ref": [
      "r384",
      "r782"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable originated four years prior to current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Year Five, Originated, Four Years before Current Fiscal Year"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear": {
     "auth_ref": [
      "r384",
      "r782"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable originated in current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Year One, Originated, Current Fiscal Year"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedInCurrentFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear": {
     "auth_ref": [
      "r384",
      "r782"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable originated in fiscal year prior to current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Year Two, Originated, Fiscal Year before Current Fiscal Year"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear": {
     "auth_ref": [
      "r384",
      "r782"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable originated three years prior to current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Year Four, Originated, Three Years before Current Fiscal Year"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear": {
     "auth_ref": [
      "r384",
      "r782"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable originated two years prior to current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Year Three, Originated, Two Years before Current Fiscal Year"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentAxis": {
     "auth_ref": [
      "r207",
      "r208",
      "r212",
      "r213",
      "r369",
      "r370",
      "r775",
      "r825",
      "r826",
      "r827",
      "r828",
      "r829",
      "r830",
      "r831",
      "r833",
      "r834",
      "r835"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentDomain": {
     "auth_ref": [
      "r207",
      "r208",
      "r212",
      "r213",
      "r825",
      "r826",
      "r827",
      "r828",
      "r829",
      "r830",
      "r831",
      "r833",
      "r834",
      "r835"
     ],
     "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]"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing": {
     "auth_ref": [
      "r199",
      "r380",
      "r783"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable 90 days or more past due and still accruing. Excludes net investment in lease.",
        "label": "Loans past due 90 days or more still accruing interest"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis": {
     "auth_ref": [
      "r67",
      "r69",
      "r207",
      "r208",
      "r212",
      "r213",
      "r311",
      "r314",
      "r315",
      "r316",
      "r317",
      "r376",
      "r377",
      "r382",
      "r774",
      "r776",
      "r777",
      "r782",
      "r783",
      "r825",
      "r826",
      "r827",
      "r828",
      "r829",
      "r830",
      "r831",
      "r833",
      "r834",
      "r835"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain": {
     "auth_ref": [
      "r207",
      "r208",
      "r212",
      "r213",
      "r314",
      "r315",
      "r316",
      "r317",
      "r774",
      "r825",
      "r826",
      "r827",
      "r828",
      "r829",
      "r830",
      "r831",
      "r833",
      "r834",
      "r835"
     ],
     "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": "Class of Financing Receivable [Domain]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus": {
     "auth_ref": [
      "r68",
      "r210",
      "r211",
      "r378"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable on nonaccrual status. Excludes net investment in lease.",
        "label": "Nonaccrual loans"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentNonaccrualStatus",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRevolving": {
     "auth_ref": [
      "r384",
      "r782"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable that can be withdrawn, repaid, and redrawn.",
        "label": "Financing Receivable, Revolving"
       }
      }
     },
     "localname": "FinancingReceivableRevolving",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRevolvingConvertedToTermLoan": {
     "auth_ref": [
      "r385",
      "r782"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of revolving financing receivable converted to term loan.",
        "label": "us-gaap_FinancingReceivableRevolvingConvertedToTermLoan",
        "terseLabel": "Financing Receivable, Revolving, Converted to Term Loan"
       }
      }
     },
     "localname": "FinancingReceivableRevolvingConvertedToTermLoan",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableUnamortizedLoanFeeCost": {
     "auth_ref": [
      "r313",
      "r318",
      "r821"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unamortized loan commitment, origination, and other costs (fees) on financing receivable recognized as adjustment to yield. Excludes financing receivable covered under loss sharing agreement.",
        "label": "us-gaap_FinancingReceivableUnamortizedLoanFeeCost",
        "terseLabel": "Financing Receivable, Unamortized Loan Cost (Fee)"
       }
      }
     },
     "localname": "FinancingReceivableUnamortizedLoanFeeCost",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivables30To59DaysPastDueMember": {
     "auth_ref": [
      "r783"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset more than 29 days past due but fewer than 60 days past due.",
        "label": "Financial Asset, 30 to 59 Days Past Due [Member]"
       }
      }
     },
     "localname": "FinancingReceivables30To59DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivables60To89DaysPastDueMember": {
     "auth_ref": [
      "r783"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset more than 59 days past due but fewer than 90 days past due.",
        "label": "Financial Asset, 60 to 89 Days Past Due [Member]"
       }
      }
     },
     "localname": "FinancingReceivables60To89DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember": {
     "auth_ref": [
      "r783"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset equal to or greater than 90 days past due.",
        "label": "Financial Asset, Equal to or Greater than 90 Days Past Due [Member]"
       }
      }
     },
     "localname": "FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueAxis": {
     "auth_ref": [
      "r200",
      "r376",
      "r783"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by period in which financial asset is past due or not past due.",
        "label": "Financial Asset, Aging [Axis]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueDomain": {
     "auth_ref": [
      "r200",
      "r376",
      "r783"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period in which financial asset is past due or not past due. For 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": "Financial Asset, Aging [Domain]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r397",
      "r398",
      "r399",
      "r400",
      "r608",
      "r612"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r72",
      "r73"
     ],
     "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]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "auth_ref": [
      "r140",
      "r608"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 5.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": "Core deposit intangible, net"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FurnitureAndFixturesMember": {
     "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 utilities. Examples include, but are not limited to, desks, chairs, tables, and bookcases.",
        "label": "Furniture and Fixtures [Member]"
       }
      }
     },
     "localname": "FurnitureAndFixturesMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainLossOnSaleOfMortgageLoans": {
     "auth_ref": [
      "r8",
      "r191",
      "r192",
      "r194"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The gains (losses) included in earnings that represent the difference between the sale price and the carrying value of loans made to finance real estate acquisitions. This element refers to the gain (loss) and not to the cash proceeds of the sale. This element is a noncash adjustment to net income when calculating net cash generated by operating activities using the indirect method.",
        "label": "us-gaap_GainLossOnSaleOfMortgageLoans",
        "negatedLabel": "Net gain from sales of mortgage loans held for sale"
       }
      }
     },
     "localname": "GainLossOnSaleOfMortgageLoans",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSaleOfPropertyPlantEquipment": {
     "auth_ref": [
      "r8"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property.",
        "label": "us-gaap_GainLossOnSaleOfPropertyPlantEquipment",
        "negatedLabel": "Net (gain) loss from sales and write-downs of fixed assets"
       }
      }
     },
     "localname": "GainLossOnSaleOfPropertyPlantEquipment",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Goodwill": {
     "auth_ref": [
      "r224",
      "r396",
      "r619",
      "r785",
      "r798",
      "r885",
      "r886"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 3.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"
       }
      }
     },
     "localname": "Goodwill",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock": {
     "auth_ref": [
      "r12",
      "r71"
     ],
     "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]"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r1",
      "r129",
      "r161",
      "r292",
      "r298",
      "r302",
      "r304",
      "r625",
      "r651",
      "r773"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
        "totalLabel": "Income before federal income tax expense"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r193",
      "r201",
      "r279",
      "r280",
      "r296",
      "r485",
      "r490",
      "r656"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "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": "Federal income tax expense"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet": {
     "auth_ref": [
      "r7"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amount due from borrowers for interest payments.",
        "label": "us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet",
        "negatedLabel": "Accrued interest receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedInterestReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities": {
     "auth_ref": [
      "r845"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in accrued expenses, and obligations classified as other.",
        "label": "Accrued interest and other liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeposits": {
     "auth_ref": [
      "r55",
      "r112"
     ],
     "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": "us-gaap_IncreaseDecreaseInDeposits",
        "terseLabel": "Increase (Decrease) in Deposits"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeposits",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInFederalFundsPurchased": {
     "auth_ref": [
      "r55",
      "r56"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 8.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": "us-gaap_IncreaseDecreaseInFederalFundsPurchased",
        "negatedLabel": "Net change in federal funds purchased"
       }
      }
     },
     "localname": "IncreaseDecreaseInFederalFundsPurchased",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInFinanceReceivables": {
     "auth_ref": [
      "r7"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in outstanding loans including accrued interest.",
        "label": "us-gaap_IncreaseDecreaseInFinanceReceivables",
        "terseLabel": "Increase (Decrease) in Finance Receivables"
       }
      }
     },
     "localname": "IncreaseDecreaseInFinanceReceivables",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net change in:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherDeposits": {
     "auth_ref": [
      "r55"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in deposit liabilities classified as other.",
        "label": "Net decrease in all other deposits"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherDeposits",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets": {
     "auth_ref": [
      "r7"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in prepaid expenses, and assets classified as other.",
        "label": "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
        "negatedLabel": "Other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInTimeDeposits": {
     "auth_ref": [
      "r112"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net cash inflow (outflow) of time deposits.",
        "label": "Net increase (decrease) in time deposits"
       }
      }
     },
     "localname": "IncreaseDecreaseInTimeDeposits",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights": {
     "auth_ref": [
      "r60"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents nonvested share-based payment awards that contain non-forfeitable rights to dividends or dividend equivalents (whether paid or unpaid). Basic and dilutive earnings per share are generally disclosed for such shares using the two-class method.",
        "label": "us-gaap_IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights",
        "terseLabel": "Incremental Common Shares Attributable to Participating Nonvested Shares with Non-forfeitable Dividend Rights (in shares)"
       }
      }
     },
     "localname": "IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_InformationByCategoryOfDebtSecurityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by category of debt security, either available-for-sale or held-to-maturity.",
        "label": "Debt Security Category [Axis]"
       }
      }
     },
     "localname": "InformationByCategoryOfDebtSecurityAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InformationTechnologyAndDataProcessing": {
     "auth_ref": [
      "r131"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 3.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": "Data processing costs"
       }
      }
     },
     "localname": "InformationTechnologyAndDataProcessing",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "auth_ref": [
      "r164",
      "r930"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "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": "us-gaap_InterestAndDividendIncomeOperating",
        "totalLabel": "Total interest income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperatingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperatingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndFeeIncomeLoansAndLeases": {
     "auth_ref": [
      "r163"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "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": "Loans, including fees"
       }
      }
     },
     "localname": "InterestAndFeeIncomeLoansAndLeases",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositLiabilitiesDomestic": {
     "auth_ref": [
      "r105"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total amount of interest-bearing domestic deposit liabilities, which may include brokered, retail, demand, checking, notice of withdrawal, money market and other interest-bearing deposits.",
        "label": "Interest-bearing"
       }
      }
     },
     "localname": "InterestBearingDepositLiabilitiesDomestic",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositsInBanks": {
     "auth_ref": [
      "r103",
      "r111"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsAndFederalFundsSold",
       "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-earning deposits"
       }
      }
     },
     "localname": "InterestBearingDepositsInBanks",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDomesticDepositChecking": {
     "auth_ref": [
      "r105"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details": {
       "order": 1.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest-bearing domestic checking deposit liabilities.",
        "label": "Interest-bearing checking"
       }
      }
     },
     "localname": "InterestBearingDomesticDepositChecking",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDomesticDepositMoneyMarket": {
     "auth_ref": [
      "r105"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details": {
       "order": 2.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest-bearing domestic money market demand account deposit liabilities.",
        "label": "Money market"
       }
      }
     },
     "localname": "InterestBearingDomesticDepositMoneyMarket",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDomesticDepositSavings": {
     "auth_ref": [
      "r105"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details": {
       "order": 5.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest-bearing domestic savings deposit liabilities. Saving deposits bear interest and have no stated maturity.",
        "label": "Savings"
       }
      }
     },
     "localname": "InterestBearingDomesticDepositSavings",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r102",
      "r176",
      "r246",
      "r295",
      "r551",
      "r723",
      "r812",
      "r927"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 0.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": "us-gaap_InterestExpense",
        "totalLabel": "Total interest expense"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest expense"
       }
      }
     },
     "localname": "InterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestExpenseDeposits": {
     "auth_ref": [
      "r173"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of interest expense on all deposits.",
        "label": "Deposits"
       }
      }
     },
     "localname": "InterestExpenseDeposits",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest expense incurred during the reporting period on long-term borrowings associated with Federal Home Loan Bank and Federal Reserve Bank advances.",
        "label": "us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm",
        "verboseLabel": "Federal Home Loan Bank advances"
       }
      }
     },
     "localname": "InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseShortTermBorrowings": {
     "auth_ref": [
      "r174",
      "r203",
      "r204"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate interest expense incurred on short-term borrowings including commercial paper and Federal funds purchased and securities sold under agreements to repurchase.",
        "label": "Short-term borrowings"
       }
      }
     },
     "localname": "InterestExpenseShortTermBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseSubordinatedNotesAndDebentures": {
     "auth_ref": [
      "r175"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest expense incurred during the reporting period on subordinated notes and debentures. Includes amortization of expenses incurred in the issuance of subordinated notes and debentures.",
        "label": "Subordinated debentures and other borrowings"
       }
      }
     },
     "localname": "InterestExpenseSubordinatedNotesAndDebentures",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeDepositsWithFinancialInstitutions": {
     "auth_ref": [
      "r172",
      "r203",
      "r204"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest income derived from funds deposited with both domestic and foreign financial institutions including funds in money market and other accounts.",
        "label": "us-gaap_InterestIncomeDepositsWithFinancialInstitutions",
        "terseLabel": "Interest-earning deposits"
       }
      }
     },
     "localname": "InterestIncomeDepositsWithFinancialInstitutions",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss": {
     "auth_ref": [
      "r167"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "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": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
        "totalLabel": "Net interest income after provision for credit losses"
       }
      }
     },
     "localname": "InterestIncomeExpenseAfterProvisionForLoanLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r165"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of operating interest income (expense).",
        "label": "us-gaap_InterestIncomeExpenseNet",
        "totalLabel": "Net interest income"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeSecuritiesTaxExempt": {
     "auth_ref": [
      "r171",
      "r203",
      "r204"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 2.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": "Securities, tax-exempt"
       }
      }
     },
     "localname": "InterestIncomeSecuritiesTaxExempt",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeSecuritiesTaxable": {
     "auth_ref": [
      "r171",
      "r203",
      "r204"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 1.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": "Securities, taxable"
       }
      }
     },
     "localname": "InterestIncomeSecuritiesTaxable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r251",
      "r253",
      "r254"
     ],
     "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"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateSwapMember": {
     "auth_ref": [
      "r765",
      "r809",
      "r810"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Forward based contracts in which two parties agree to swap periodic payments that are fixed at the outset of the swap contract with variable payments based on a market interest rate (index rate) over a specified period.",
        "label": "Interest Rate Swap [Member]"
       }
      }
     },
     "localname": "InterestRateSwapMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InternalCreditAssessmentAxis": {
     "auth_ref": [
      "r66",
      "r498",
      "r781",
      "r782",
      "r883"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by entity-defined rating.",
        "label": "Internal Credit Assessment [Axis]"
       }
      }
     },
     "localname": "InternalCreditAssessmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InternalCreditAssessmentDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity defined credit risk rating.",
        "label": "Internal Credit Assessment [Domain]"
       }
      }
     },
     "localname": "InternalCreditAssessmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentInFederalHomeLoanBankStockFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of investments in Federal Home Loan Bank (FHLBank) stock.",
        "label": "us-gaap_InvestmentInFederalHomeLoanBankStockFairValueDisclosure",
        "terseLabel": "FHLBI stock"
       }
      }
     },
     "localname": "InvestmentInFederalHomeLoanBankStockFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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]"
       }
      }
     },
     "localname": "InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r152",
      "r177",
      "r180",
      "r206",
      "r321",
      "r323",
      "r531",
      "r532"
     ],
     "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]"
       }
      }
     },
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust": {
     "auth_ref": [
      "r109",
      "r920"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 6.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, the carrying value of junior subordinated long-term debt owed to unconsolidated subsidiary trusts as of the balance sheet date. Such debt places a lender in a lien position behind debt having a higher priority of repayment in liquidation of the entity's assets and was initially scheduled to be repaid after one year or beyond the normal operating cycle if longer.",
        "label": "Subordinated debentures"
       }
      }
     },
     "localname": "JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_JuniorSubordinatedNotes": {
     "auth_ref": [
      "r33",
      "r157",
      "r920"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of long-term debt (with maturities initially due after one year or beyond the operating cycle if longer) identified as Junior Subordinated Notes, which have a lower priority than senior instruments.",
        "label": "Subordinated notes"
       }
      }
     },
     "localname": "JuniorSubordinatedNotes",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LaborAndRelatedExpense": {
     "auth_ref": [
      "r839"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 0.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": "Salaries and benefits"
       }
      }
     },
     "localname": "LaborAndRelatedExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LandAndLandImprovementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Real estate held and assets that are an addition or improvement to real estate held.",
        "label": "Land and Land Improvements [Member]"
       }
      }
     },
     "localname": "LandAndLandImprovementsMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "auth_ref": [
      "r907"
     ],
     "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": "Lessee, Operating Lease, Liability, to be Paid, Maturity [Table Text Block]"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r561"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details": {
       "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": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
        "totalLabel": "Total undiscounted lease payments"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive": {
     "auth_ref": [
      "r561"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details": {
       "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 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": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r561"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details": {
       "order": 0.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": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive": {
     "auth_ref": [
      "r561"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details": {
       "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 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": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFive",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "auth_ref": [
      "r561"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details": {
       "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": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r561"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details": {
       "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 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": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r561"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details": {
       "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": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "auth_ref": [
      "r561"
     ],
     "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": "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
        "negatedLabel": "Less effect of discounting"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseRenewalTerm": {
     "auth_ref": [
      "r906"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term of lessee's operating lease renewal, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "us-gaap_LesseeOperatingLeaseRenewalTerm",
        "terseLabel": "Lessee, Operating Lease, Renewal Term (Year)"
       }
      }
     },
     "localname": "LesseeOperatingLeaseRenewalTerm",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r38",
      "r257",
      "r356",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r413",
      "r414",
      "r495",
      "r496",
      "r497",
      "r537",
      "r697",
      "r772",
      "r814",
      "r893",
      "r908",
      "r909"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 0.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": "us-gaap_Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r125",
      "r158",
      "r648",
      "r798",
      "r847",
      "r879",
      "r904"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "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": "us-gaap_LiabilitiesAndStockholdersEquity",
        "totalLabel": "Total liabilities and shareholders\u2019 equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LIABILITIES AND SHAREHOLDERS' EQUITY"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesFairValueDisclosure": {
     "auth_ref": [
      "r97"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial and nonfinancial obligations.",
        "label": "us-gaap_LiabilitiesFairValueDisclosure",
        "terseLabel": "Total liabilities"
       }
      }
     },
     "localname": "LiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "auth_ref": [
      "r36"
     ],
     "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": "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity",
        "terseLabel": "Line of Credit Facility, Maximum Borrowing Capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity": {
     "auth_ref": [
      "r36"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).",
        "label": "us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity",
        "terseLabel": "Line of Credit Facility, Remaining Borrowing Capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityRemainingBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoanOriginationCommitmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitments to borrowers or third party investors for the origination of a loan.",
        "label": "Loan Origination Commitments [Member]"
       }
      }
     },
     "localname": "LoanOriginationCommitmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansAndLeasesReceivableAllowanceForLoanLossesPolicy": {
     "auth_ref": [
      "r70"
     ],
     "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]"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableAllowanceForLoanLossesPolicy",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansAndLeasesReceivableMortgageBankingActivitiesPolicy": {
     "auth_ref": [
      "r758"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the lending, securitization, sales, transfers and servicing practices for mortgage banking activities.",
        "label": "Mortgage Banking Activity [Policy Text Block]"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableMortgageBankingActivitiesPolicy",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by US and non-US government sponsored enterprise, authority, agency and program guarantees for government insured loans.",
        "label": "Loans Insured or Guaranteed by Government Authorities [Axis]"
       }
      }
     },
     "localname": "LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Guarantee by US and non-US government sponsored enterprises, authorities, agencies and programs for government insured loans.",
        "label": "Loans Insured or Guaranteed by Government Authorities [Domain]"
       }
      }
     },
     "localname": "LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock": {
     "auth_ref": [
      "r852"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for claims held for amounts due a entity, excluding financing receivables. Examples include, but are not limited to, trade accounts receivables, notes receivables, loans receivables. Includes disclosure for allowance for credit losses.",
        "label": "Loans, Notes, Trade and Other Receivables Disclosure [Text Block]"
       }
      }
     },
     "localname": "LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansReceivableFairValueDisclosure": {
     "auth_ref": [
      "r64"
     ],
     "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": "us-gaap_LoansReceivableFairValueDisclosure",
        "terseLabel": "Loans, net"
       }
      }
     },
     "localname": "LoansReceivableFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r40"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-tables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r40",
      "r76"
     ],
     "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": "Long-Term Debt, Type [Domain]"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-tables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MarketableSecuritiesPolicy": {
     "auth_ref": [
      "r113"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment classified as marketable security.",
        "label": "Marketable Securities, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "MarketableSecuritiesPolicy",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_MortgageBackedSecuritiesMember": {
     "auth_ref": [
      "r793",
      "r794",
      "r795",
      "r860",
      "r867",
      "r872",
      "r873",
      "r874",
      "r922"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities collateralized by mortgage loans.",
        "label": "Collateralized Mortgage-Backed Securities [Member]"
       }
      }
     },
     "localname": "MortgageBackedSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgagesHeldForSaleFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of mortgage loans held-for-sale.",
        "label": "us-gaap_MortgagesHeldForSaleFairValueDisclosure",
        "terseLabel": "Loan, Mortgage, Held-for-Sale, Fair Value Disclosure"
       }
      }
     },
     "localname": "MortgagesHeldForSaleFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r252"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 2.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": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
        "totalLabel": "Net cash from (for) financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r252"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 0.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": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
        "totalLabel": "Net cash for investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r132",
      "r133",
      "r134"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "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": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
        "totalLabel": "Net cash from operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r130",
      "r134",
      "r162",
      "r221",
      "r238",
      "r241",
      "r245",
      "r257",
      "r269",
      "r273",
      "r274",
      "r275",
      "r276",
      "r279",
      "r280",
      "r285",
      "r292",
      "r298",
      "r302",
      "r304",
      "r356",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r413",
      "r414",
      "r522",
      "r537",
      "r652",
      "r720",
      "r736",
      "r737",
      "r773",
      "r812",
      "r893"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      },
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "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",
        "totalLabel": "Net income"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncashInvestingAndFinancingItemsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncash financing and investing activities:"
       }
      }
     },
     "localname": "NoncashInvestingAndFinancingItemsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestBearingDomesticDepositDemand": {
     "auth_ref": [
      "r105"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      },
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details": {
       "order": 4.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of money in noninterest-bearing domestic accounts that entitle the depositor to withdraw funds at any time without prior notice, also known as demand deposits.",
        "label": "Noninterest-bearing"
       }
      }
     },
     "localname": "NoninterestBearingDomesticDepositDemand",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpense": {
     "auth_ref": [
      "r170"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total aggregate amount of all noninterest expense.",
        "label": "us-gaap_NoninterestExpense",
        "terseLabel": "Noninterest Expense",
        "totalLabel": "Total noninterest expenses"
       }
      }
     },
     "localname": "NoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noninterest expense"
       }
      }
     },
     "localname": "NoninterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncome": {
     "auth_ref": [
      "r168"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "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": "us-gaap_NoninterestIncome",
        "terseLabel": "Noninterest Income, Total",
        "totalLabel": "Total noninterest income"
       }
      }
     },
     "localname": "NoninterestIncome",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noninterest income:"
       }
      }
     },
     "localname": "NoninterestIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncomeOtherOperatingIncome": {
     "auth_ref": [
      "r128",
      "r160"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue earned, classified as other, excluding interest income.",
        "label": "Other income"
       }
      }
     },
     "localname": "NoninterestIncomeOtherOperatingIncome",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NonperformingFinancingReceivableMember": {
     "auth_ref": [
      "r66",
      "r883"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category status of financial instruments in which payments are past due in accordance with the terms of the contract. Financial instruments include, but are not limited to, financing receivables, loans, debt, and investments.",
        "label": "Nonperforming Financial Instruments [Member]"
       }
      }
     },
     "localname": "NonperformingFinancingReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NotesReceivableGross": {
     "auth_ref": [
      "r200",
      "r209",
      "r210",
      "r227",
      "r376",
      "r383",
      "r782",
      "r783",
      "r832",
      "r880"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_NotesReceivableNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost, before allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease.",
        "label": "Loans",
        "terseLabel": "Financing Receivable, before Allowance for Credit Loss"
       }
      }
     },
     "localname": "NotesReceivableGross",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesReceivableNet": {
     "auth_ref": [
      "r308",
      "r383",
      "r707"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 8.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost, after allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease.",
        "label": "us-gaap_NotesReceivableNet",
        "totalLabel": "Loans, net"
       }
      }
     },
     "localname": "NotesReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OccupancyNet": {
     "auth_ref": [
      "r131",
      "r169",
      "r190"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 1.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"
       }
      }
     },
     "localname": "OccupancyNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseExpense": {
     "auth_ref": [
      "r905"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating lease expense. Excludes sublease income.",
        "label": "us-gaap_OperatingLeaseExpense",
        "terseLabel": "Operating Lease, Expense"
       }
      }
     },
     "localname": "OperatingLeaseExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r558"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "us-gaap_OperatingLeaseLiability",
        "terseLabel": "Operating Lease, Liability",
        "verboseLabel": "Present value of future lease payments (lease liability)"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r557"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "us-gaap_OperatingLeaseRightOfUseAsset",
        "terseLabel": "Operating Lease, Right-of-Use Asset"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r560",
      "r797"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average discount rate for operating lease calculated at point in time.",
        "label": "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent",
        "terseLabel": "Operating Lease, Weighted Average Discount Rate, Percent"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r559",
      "r797"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1",
        "terseLabel": "Operating Lease, Weighted Average Remaining Lease Term (Year)"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_OtherAssets": {
     "auth_ref": [
      "r154",
      "r225",
      "r641",
      "r814"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 7.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets classified as other.",
        "label": "Other assets"
       }
      }
     },
     "localname": "OtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsMember": {
     "auth_ref": [
      "r83",
      "r96"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other assets.",
        "label": "Other Assets [Member]"
       }
      }
     },
     "localname": "OtherAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxAttributableToParentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other comprehensive income (loss):"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxAttributableToParentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent": {
     "auth_ref": [
      "r6",
      "r18",
      "r146",
      "r239",
      "r242"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited": {
       "order": 0.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": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
        "totalLabel": "Other comprehensive income (loss), net of tax effect"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax": {
     "auth_ref": [
      "r235",
      "r237",
      "r355"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "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": "Unrealized holding gains (losses) on securities available for sale"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax": {
     "auth_ref": [
      "r235",
      "r237",
      "r355"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax and before 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": "Change in net unrealized holding gain/(loss) on securities available for sale, net of tax effect"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax": {
     "auth_ref": [
      "r4",
      "r236"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before adjustment, of tax expense (benefit) for 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 tax expense (benefit) for unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
        "negatedLabel": "Tax effect of unrealized holding gains (losses) on securities available for sale"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesMember": {
     "auth_ref": [
      "r83",
      "r96"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other liabilities.",
        "label": "Other Liabilities [Member]"
       }
      }
     },
     "localname": "OtherLiabilitiesMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherNoninterestExpense": {
     "auth_ref": [
      "r170"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noninterest expense classified as other.",
        "label": "Other expense"
       }
      }
     },
     "localname": "OtherNoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PastDueFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r67",
      "r69",
      "r783",
      "r882"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of aging analysis for financing receivable.",
        "label": "Financing Receivable, Past Due [Table Text Block]"
       }
      }
     },
     "localname": "PastDueFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale": {
     "auth_ref": [
      "r769",
      "r844"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid for the origination of mortgages that are held for sale.",
        "label": "us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale",
        "negatedLabel": "Origination of mortgage loans held for sale"
       }
      }
     },
     "localname": "PaymentsForOriginationOfMortgageLoansHeldForSale",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForProceedsFromLoansAndLeases": {
     "auth_ref": [
      "r624"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 0.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": "us-gaap_PaymentsForProceedsFromLoansAndLeases",
        "negatedLabel": "Loan originations and payments, net"
       }
      }
     },
     "localname": "PaymentsForProceedsFromLoansAndLeases",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForProceedsFromProductiveAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net cash outflow or inflow from purchases, sales and disposals of property, plant and equipment and other productive assets, including intangibles.",
        "label": "us-gaap_PaymentsForProceedsFromProductiveAssets",
        "negatedLabel": "Net purchases of premises and equipment and lease activity"
       }
      }
     },
     "localname": "PaymentsForProceedsFromProductiveAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsCommonStock": {
     "auth_ref": [
      "r51"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 7.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": "us-gaap_PaymentsOfDividendsCommonStock",
        "negatedLabel": "Payment of cash dividends to common shareholders"
       }
      }
     },
     "localname": "PaymentsOfDividendsCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r49",
      "r249",
      "r322"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 1.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": "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt",
        "negatedLabel": "Purchases of securities available for sale"
       }
      }
     },
     "localname": "PaymentsToAcquireAvailableForSaleSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsChecking": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details": {
       "order": 1.0,
       "parentTag": "mbwm_AggregatePercentageOfDeposits",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of interest-bearing domestic checking demand deposit liabilities to total deposit liabilities.",
        "label": "Interest-bearing checking, percentage"
       }
      }
     },
     "localname": "PercentageOfInterestBearingDomesticDepositsToDepositsChecking",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsMoneyMarket": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details": {
       "order": 4.0,
       "parentTag": "mbwm_AggregatePercentageOfDeposits",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of interest-bearing domestic money market demand account deposit liabilities to total deposit liabilities.",
        "label": "Money market, percentage"
       }
      }
     },
     "localname": "PercentageOfInterestBearingDomesticDepositsToDepositsMoneyMarket",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsSavings": {
     "auth_ref": [],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details": {
       "order": 5.0,
       "parentTag": "mbwm_AggregatePercentageOfDeposits",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of interest-bearing domestic savings deposit liabilities to total deposit liabilities.",
        "label": "Savings, percentage"
       }
      }
     },
     "localname": "PercentageOfInterestBearingDomesticDepositsToDepositsSavings",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PerformingFinancingReceivableMember": {
     "auth_ref": [
      "r66",
      "r883"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category status of financial instruments in which payments are received or paid on a timely basis in accordance with the terms of the contract. Financial instruments include, but are not limited to, financing receivables, loans, debt instruments, and investments.",
        "label": "Performing Financial Instruments [Member]"
       }
      }
     },
     "localname": "PerformingFinancingReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PolicyTextBlockAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_PolicyTextBlockAbstract",
        "terseLabel": "Accounting Policies"
       }
      }
     },
     "localname": "PolicyTextBlockAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r535"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured at fair value for financial reporting purposes.",
        "label": "Portion at Fair Value Measurement [Member]"
       }
      }
     },
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockMember": {
     "auth_ref": [
      "r801",
      "r802",
      "r806",
      "r807",
      "r808",
      "r811",
      "r925",
      "r928"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred shares may provide a preferential dividend to the dividend on common stock and may take precedence over common stock in the event of a liquidation. Preferred shares typically represent an ownership interest in the company.",
        "label": "Preferred Stock [Member]"
       }
      }
     },
     "localname": "PreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockNoParValue": {
     "auth_ref": [
      "r120",
      "r898"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount per share of no-par value preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred stock, par value (in dollars per share)"
       }
      }
     },
     "localname": "PreferredStockNoParValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "auth_ref": [
      "r120",
      "r699"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
        "label": "Preferred stock, shares authorized (in shares)"
       }
      }
     },
     "localname": "PreferredStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "auth_ref": [
      "r120",
      "r699",
      "r718",
      "r928",
      "r929"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased.",
        "label": "Preferred stock, shares outstanding (in shares)"
       }
      }
     },
     "localname": "PreferredStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockValue": {
     "auth_ref": [
      "r120",
      "r644",
      "r798"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Preferred stock, no par value; 1,000,000 shares authorized; none issued"
       }
      }
     },
     "localname": "PreferredStockValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromFederalHomeLoanBankBorrowings": {
     "auth_ref": [
      "r842"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 9.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 advances"
       }
      }
     },
     "localname": "ProceedsFromFederalHomeLoanBankBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStockDividendReinvestmentPlan": {
     "auth_ref": [
      "r841"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from capital contributions to an entity associated with a dividend reinvestment plan.",
        "label": "Dividend reinvestment plan"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStockDividendReinvestmentPlan",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfSubordinatedLongTermDebt": {
     "auth_ref": [
      "r50"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a borrowing where a lender is placed in a lien position behind debt having a higher priority of repayment (senior) in liquidation of the entity's assets or underlying collateral.",
        "label": "Proceeds from subordinated notes issuance"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfSubordinatedLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities": {
     "auth_ref": [
      "r249",
      "r250",
      "r859"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from 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 maturities, calls and repayments of securities available for sale"
       }
      }
     },
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase": {
     "auth_ref": [
      "r55",
      "r56"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash flow from investments sold under the agreement to repurchase such investment.",
        "label": "Net increase in securities sold under agreements to repurchase"
       }
      }
     },
     "localname": "ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r48",
      "r249",
      "r322",
      "r354"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from sale of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
        "terseLabel": "Proceeds from Sale of Debt Securities, Available-for-Sale"
       }
      }
     },
     "localname": "ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfFederalHomeLoanBankStock": {
     "auth_ref": [
      "r840"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from sale of Federal Home Loan Bank (FHLB) stock.",
        "label": "Proceeds from Federal Home Loan Bank stock redemption"
       }
      }
     },
     "localname": "ProceedsFromSaleOfFederalHomeLoanBankStock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfForeclosedAssets": {
     "auth_ref": [
      "r47"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the sale assets received in full or partial satisfaction of a receivable including real and personal property; equity interests in corporations, partnerships, and joint ventures; and beneficial interests in trusts. Foreclosed assets also include loans that are treated as if the underlying collateral had been foreclosed because the institution has taken possession of the collateral, even though legal foreclosure or repossession proceedings have not taken place.",
        "label": "Proceeds from sales of foreclosed assets"
       }
      }
     },
     "localname": "ProceedsFromSaleOfForeclosedAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfMortgageLoansHeldForSale": {
     "auth_ref": [
      "r52",
      "r53"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from sales of loans that are secured with real estate mortgages and are held with the intention to resell in the near future.",
        "label": "Proceeds from sales of mortgage loans held for sale"
       }
      }
     },
     "localname": "ProceedsFromSaleOfMortgageLoansHeldForSale",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "auth_ref": [
      "r5",
      "r24"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement.",
        "label": "Net proceeds from stock option exercises"
       }
      }
     },
     "localname": "ProceedsFromStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromStockPlans": {
     "auth_ref": [
      "r5"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the amount received from the stock plan during the period.",
        "label": "us-gaap_ProceedsFromStockPlans",
        "terseLabel": "Employee stock purchase plan"
       }
      }
     },
     "localname": "ProceedsFromStockPlans",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r10"
     ],
     "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": "Long-Lived Tangible Asset [Axis]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r141",
      "r196",
      "r197",
      "r198"
     ],
     "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]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "auth_ref": [
      "r142",
      "r222",
      "r650"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details": {
       "order": 0.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"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r10",
      "r629",
      "r650",
      "r798"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 9.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "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": "Premises and equipment, net",
        "totalLabel": "Premises and equipment, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r10"
     ],
     "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]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r142"
     ],
     "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": "Long-Lived Tangible Asset [Domain]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProvisionForLoanLeaseAndOtherLosses": {
     "auth_ref": [
      "r7",
      "r15",
      "r166"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense related loan transactions, lease transactions, credit loss from transactions other than loan and lease transactions, and other loss based on assessment of uncollectability from the counterparty to reduce the account to their net realizable value.",
        "label": "Provision for credit losses"
       }
      }
     },
     "localname": "ProvisionForLoanLeaseAndOtherLosses",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProvisionForLoanLossesExpensed": {
     "auth_ref": [
      "r372",
      "r621"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of credit loss expense (reversal of expense) for financing receivable.",
        "label": "us-gaap_ProvisionForLoanLossesExpensed",
        "terseLabel": "Financing Receivable, Credit Loss, Expense (Reversal)"
       }
      }
     },
     "localname": "ProvisionForLoanLossesExpensed",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock": {
     "auth_ref": [
      "r630",
      "r631",
      "r632",
      "r634",
      "r635",
      "r636",
      "r638",
      "r639"
     ],
     "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]"
       }
      }
     },
     "localname": "RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings": {
     "auth_ref": [
      "r843"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for repayment of Federal Home Loan Bank (FHLBank) borrowing, classified as financing activity.",
        "label": "us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings",
        "negatedLabel": "Payoffs of and paydowns on Federal Home Loan Bank advances"
       }
      }
     },
     "localname": "RepaymentsOfFederalHomeLoanBankBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepurchaseAgreementCounterpartyWeightedAverageMaturityOfAgreements1": {
     "auth_ref": [
      "r260"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average maturity (weighted by amount of the agreement) of repurchase agreements with the counterparty, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "us-gaap_RepurchaseAgreementCounterpartyWeightedAverageMaturityOfAgreements1",
        "terseLabel": "Repurchase Agreement Counterparty, Weighted Average Maturity of Agreements (Day)"
       }
      }
     },
     "localname": "RepurchaseAgreementCounterpartyWeightedAverageMaturityOfAgreements1",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-details-textual"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock": {
     "auth_ref": [
      "r151"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for repurchase agreements (also known as repos), resale agreements (also known as reverse repurchase agreements or reverse repos), securities borrowed transactions, and securities loaned transactions.",
        "label": "Repurchase Agreements, Resale Agreements, Securities Borrowed, and Securities Loaned Disclosure [Text Block]"
       }
      }
     },
     "localname": "RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ResidentialRealEstateMember": {
     "auth_ref": [
      "r774",
      "r779",
      "r901"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Property that is used as a home.",
        "label": "Residential Real Estate [Member]"
       }
      }
     },
     "localname": "ResidentialRealEstateMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RestrictedStockMember": {
     "auth_ref": [
      "r61"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock including a provision that prohibits sale or substantive sale of an equity instrument for a specified period of time or until specified performance conditions are met.",
        "label": "Restricted Stock [Member]"
       }
      }
     },
     "localname": "RestrictedStockMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r122",
      "r145",
      "r647",
      "r670",
      "r675",
      "r678",
      "r700",
      "r798"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated undistributed earnings (deficit).",
        "label": "Retained earnings",
        "terseLabel": "Retained Earnings (Accumulated Deficit), Total"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r218",
      "r265",
      "r266",
      "r267",
      "r270",
      "r278",
      "r280",
      "r361",
      "r367",
      "r480",
      "r481",
      "r482",
      "r488",
      "r489",
      "r503",
      "r506",
      "r507",
      "r510",
      "r520",
      "r666",
      "r668",
      "r679",
      "r928"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated undistributed earnings (deficit).",
        "label": "Retained Earnings [Member]"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax": {
     "auth_ref": [
      "r293",
      "r294",
      "r297",
      "r300",
      "r301",
      "r305",
      "r306",
      "r307",
      "r442",
      "r443",
      "r607"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 0.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": "Noninterest revenue"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerIncludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-noninterest-income-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerPolicyTextBlock": {
     "auth_ref": [
      "r202",
      "r434",
      "r435",
      "r436",
      "r437",
      "r438",
      "r439",
      "r440",
      "r441",
      "r764"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue from contract with customer.",
        "label": "Revenue from Contract with Customer [Policy Text Block]"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock": {
     "auth_ref": [
      "r43"
     ],
     "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]"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock": {
     "auth_ref": [
      "r633",
      "r637"
     ],
     "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]"
       }
      }
     },
     "localname": "ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsTextBlock": {
     "auth_ref": [
      "r21",
      "r79",
      "r80",
      "r81",
      "r82",
      "r85",
      "r89",
      "r91",
      "r93"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of pertinent information about a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Schedule of Derivative Instruments [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock": {
     "auth_ref": [
      "r63"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of entity-wide revenues from external customers for each product or service or each group of similar products or services if the information is not provided as part of the reportable operating segment information.",
        "label": "Revenue from External Customers by Products and Services [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "auth_ref": [
      "r525",
      "r526"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, 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": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock": {
     "auth_ref": [
      "r67",
      "r377"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financing receivable on nonaccrual status.",
        "label": "Financing Receivable, Nonaccrual [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRepurchaseAgreements": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for repurchase agreements.",
        "label": "Schedule of Repurchase Agreements [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfRepurchaseAgreements",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosure": {
     "auth_ref": [
      "r150"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of securities that an entity sells and agrees to repurchase at a specified date for a specified price.",
        "label": "us-gaap_SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosure",
        "terseLabel": "Repurchase agreements"
       }
      }
     },
     "localname": "SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchase": {
     "auth_ref": [
      "r106",
      "r231",
      "r234",
      "r258",
      "r259",
      "r741",
      "r742",
      "r744",
      "r755"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after the effects of master netting arrangements, of funds outstanding borrowed in the form of a security repurchase agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Securities sold under agreements to repurchase"
       }
      }
     },
     "localname": "SecuritiesSoldUnderAgreementsToRepurchase",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreement-to-repurchase-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember": {
     "auth_ref": [
      "r150"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The securities that an institution sells and agrees to repurchase (the identical or substantially the same securities) as a seller-borrower at a specified date for a specified price, also known as a repurchase agreement, or repo. Most repos involve obligations of the federal government or its agencies, but other financial instruments, such as commercial paper, banker's acceptances, and negotiable certificates of deposit, are sometimes used in repos.",
        "label": "Securities Sold under Agreements to Repurchase [Member]"
       }
      }
     },
     "localname": "SecuritiesSoldUnderAgreementsToRepurchaseMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreement-to-repurchase-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ServicingAssetAtFairValueAmount": {
     "auth_ref": [
      "r588",
      "r589",
      "r590",
      "r591"
     ],
     "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": "us-gaap_ServicingAssetAtFairValueAmount",
        "terseLabel": "Mortgage servicing rights"
       }
      }
     },
     "localname": "ServicingAssetAtFairValueAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r7"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "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": "us-gaap_ShareBasedCompensation",
        "verboseLabel": "Stock-based compensation expense"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459",
      "r460",
      "r461",
      "r462",
      "r463",
      "r464",
      "r465",
      "r466",
      "r467",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShortTermDebtTypeAxis": {
     "auth_ref": [
      "r37"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of short-term debt arrangement.",
        "label": "Short-Term Debt, Type [Axis]"
       }
      }
     },
     "localname": "ShortTermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreement-to-repurchase-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtTypeDomain": {
     "auth_ref": [
      "r34"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of short-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.",
        "label": "Short-Term Debt, Type [Domain]"
       }
      }
     },
     "localname": "ShortTermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreement-to-repurchase-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShortTermDebtWeightedAverageInterestRate": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of short-term debt outstanding calculated at point in time.",
        "label": "Average interest rate at end of period"
       }
      }
     },
     "localname": "ShortTermDebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreement-to-repurchase-details"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShorttermDebtAverageOutstandingAmount": {
     "auth_ref": [
      "r203",
      "r204",
      "r723"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the form of debt having an initial term of less than one year or less than the normal operating cycle, if longer, average borrowings during the period.",
        "label": "Average daily balance during the period"
       }
      }
     },
     "localname": "ShorttermDebtAverageOutstandingAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreement-to-repurchase-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShorttermDebtMaximumAmountOutstandingDuringPeriod": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the form of debt having an initial term of less than one year or less than the normal operating cycle, if longer, the maximum amount borrowed at any time during the period.",
        "label": "Maximum daily balance during the period"
       }
      }
     },
     "localname": "ShorttermDebtMaximumAmountOutstandingDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreement-to-repurchase-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r135",
      "r256"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StandbyLettersOfCreditMember": {
     "auth_ref": [
      "r0",
      "r891",
      "r923",
      "r924"
     ],
     "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]"
       }
      }
     },
     "localname": "StandbyLettersOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r20",
      "r42",
      "r218",
      "r243",
      "r244",
      "r245",
      "r265",
      "r266",
      "r267",
      "r270",
      "r278",
      "r280",
      "r291",
      "r361",
      "r367",
      "r433",
      "r480",
      "r481",
      "r482",
      "r488",
      "r489",
      "r503",
      "r505",
      "r506",
      "r507",
      "r508",
      "r510",
      "r520",
      "r542",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r566",
      "r666",
      "r667",
      "r668",
      "r679",
      "r738"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [
      "r265",
      "r266",
      "r267",
      "r291",
      "r607",
      "r676",
      "r680",
      "r691",
      "r692",
      "r693",
      "r694",
      "r695",
      "r696",
      "r699",
      "r702",
      "r703",
      "r704",
      "r705",
      "r706",
      "r708",
      "r709",
      "r710",
      "r711",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r719",
      "r721",
      "r722",
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r738",
      "r805"
     ],
     "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]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-noninterest-income-details",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-tables",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-tables",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-tables",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-tables",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-tables",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-tables",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-tables",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-tables",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreement-to-repurchase-details",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-tables",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-tables",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-tables",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-tables",
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Comprehensive Income [Abstract]"
       }
      }
     },
     "localname": "StatementOfIncomeAndComprehensiveIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r265",
      "r266",
      "r267",
      "r291",
      "r607",
      "r676",
      "r680",
      "r691",
      "r692",
      "r693",
      "r694",
      "r695",
      "r696",
      "r699",
      "r702",
      "r703",
      "r704",
      "r705",
      "r706",
      "r708",
      "r709",
      "r710",
      "r711",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r719",
      "r721",
      "r722",
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r738",
      "r805"
     ],
     "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/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-comprehensive-income-loss-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-noninterest-income-details",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-tables",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-tables",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-nonrecurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-tables",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-tables",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-tables",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-age-analysis-of-past-due-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-components-of-loan-portfolio-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loan-vintage-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-loans-modified-as-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-nonperforming-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-tables",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-activity-for-troubled-debt-restructurings-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-loans-modified-as-troubled-debt-restructurings-within-the-previous-twelve-months-that-became-over-30-days-past-due-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-loan-losses-nonaccrual-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-future-lease-payments-details",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-summary-of-premises-and-equipment-details",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-tables",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-summary-of-deposits-details",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-tables",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreement-to-repurchase-details",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-tables",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlb-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-maturities-of-currently-outstanding-fhlbi-amortizing-advances-details",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-tables",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-tables",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-fair-value-of-derivative-instruments-details",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-tables",
      "http://www.mercbank.com/20230331/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan": {
     "auth_ref": [
      "r20",
      "r738",
      "r756"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued during the period from a dividend reinvestment plan (DRIP). A dividend reinvestment plan allows the shareholders to reinvest dividends paid to them by the entity on new issues of stock by the entity.",
        "label": "Dividend reinvestment plan (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesDividendReinvestmentPlan",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans": {
     "auth_ref": [
      "r20",
      "r120",
      "r121",
      "r145"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued during the period as a result of an employee stock purchase plan.",
        "label": "Employee stock purchase plan (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "auth_ref": [
      "r20",
      "r120",
      "r121",
      "r145",
      "r462"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of share options (or share units) exercised during the current period.",
        "label": "Stock option exercises (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueDividendReinvestmentPlan": {
     "auth_ref": [
      "r20",
      "r679",
      "r738",
      "r756",
      "r804",
      "r813"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued during the period from a dividend reinvestment plan (DRIP). A dividend reinvestment plan allows the holder of the stock to reinvest dividends paid to them by the entity on new issues of stock by the entity.",
        "label": "us-gaap_StockIssuedDuringPeriodValueDividendReinvestmentPlan",
        "terseLabel": "Dividend reinvestment plan"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueDividendReinvestmentPlan",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan": {
     "auth_ref": [
      "r20",
      "r120",
      "r121",
      "r145"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate change in value for stock issued during the period as a result of employee stock purchase plan.",
        "label": "Employee stock purchase plan"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueEmployeeStockPurchasePlan",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised": {
     "auth_ref": [
      "r20",
      "r42",
      "r145"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued as a result of the exercise of stock options.",
        "label": "Stock option exercises"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchaseProgramAuthorizedAmount1": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of stock repurchase plan authorized.",
        "label": "us-gaap_StockRepurchaseProgramAuthorizedAmount1",
        "terseLabel": "Stock Repurchase Program, Authorized Amount"
       }
      }
     },
     "localname": "StockRepurchaseProgramAuthorizedAmount1",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount remaining of a stock repurchase plan authorized.",
        "label": "us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1",
        "terseLabel": "Stock Repurchase Program, Remaining Authorized Repurchase Amount"
       }
      }
     },
     "localname": "StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodShares": {
     "auth_ref": [
      "r20",
      "r120",
      "r121",
      "r145",
      "r677",
      "r738",
      "r757"
     ],
     "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": "us-gaap_StockRepurchasedDuringPeriodShares",
        "terseLabel": "Stock Repurchased During Period, Shares (in shares)"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodShares",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r121",
      "r123",
      "r124",
      "r136",
      "r701",
      "r718",
      "r739",
      "r740",
      "r798",
      "r814",
      "r847",
      "r879",
      "r904",
      "r928"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of equity (deficit) attributable to parent. Excludes temporary equity and equity attributable to noncontrolling interest.",
        "label": "us-gaap_StockholdersEquity",
        "periodEndLabel": "Balances",
        "periodStartLabel": "Balances",
        "totalLabel": "Total shareholders\u2019 equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholders' equity"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubordinatedBorrowingAxis": {
     "auth_ref": [
      "r179"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of borrowing under subordinated debt agreement.",
        "label": "Subordinated Borrowing [Axis]"
       }
      }
     },
     "localname": "SubordinatedBorrowingAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubordinatedBorrowingNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the borrowing under subordinated debt agreements, including exchange memberships contributed for the use of the Company.",
        "label": "Subordinated Borrowing, Name [Domain]"
       }
      }
     },
     "localname": "SubordinatedBorrowingNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-fair-value-hierarchy-of-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r548",
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r548",
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r548",
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events",
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r568",
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-13-subsequent-events"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental disclosures of cash flows information"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_TableTextBlock",
        "terseLabel": "Notes Tables"
       }
      }
     },
     "localname": "TableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-tables",
      "http://www.mercbank.com/20230331/role/statement-note-10-fair-values-of-financial-instruments-tables",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-tables",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-tables",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-tables",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-tables",
      "http://www.mercbank.com/20230331/role/statement-note-4-premises-and-equipment-net-tables",
      "http://www.mercbank.com/20230331/role/statement-note-5-deposits-tables",
      "http://www.mercbank.com/20230331/role/statement-note-6-securities-sold-under-agreements-to-repurchase-tables",
      "http://www.mercbank.com/20230331/role/statement-note-7-federal-home-loan-bank-of-indianapolis-advances-tables",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-tables",
      "http://www.mercbank.com/20230331/role/statement-note-9-derivatives-and-hedging-activities-tables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TierOneLeverageCapital": {
     "auth_ref": [
      "r633"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Tier 1 leverage capital as defined by regulatory framework.",
        "label": "Tier 1 capital to average assets, amount"
       }
      }
     },
     "localname": "TierOneLeverageCapital",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy": {
     "auth_ref": [
      "r633",
      "r637"
     ],
     "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 1 capital to average assets, minimum required for capital adequacy, amount"
       }
      }
     },
     "localname": "TierOneLeverageCapitalRequiredForCapitalAdequacy",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets": {
     "auth_ref": [
      "r633",
      "r637"
     ],
     "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 1 capital to average assets minimum required for capital adequacy, ratio"
       }
      }
     },
     "localname": "TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalized": {
     "auth_ref": [
      "r633"
     ],
     "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 1 capital to average assets to be well capitalized, amount"
       }
      }
     },
     "localname": "TierOneLeverageCapitalRequiredToBeWellCapitalized",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalizedToAverageAssets": {
     "auth_ref": [
      "r633"
     ],
     "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 1 capital to average assets to be well capitalized, ratio"
       }
      }
     },
     "localname": "TierOneLeverageCapitalRequiredToBeWellCapitalizedToAverageAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_TierOneLeverageCapitalToAverageAssets": {
     "auth_ref": [
      "r633"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of Tier 1 capital to average assets as defined by regulatory framework.",
        "label": "Tier 1 capital to average assets, ratio"
       }
      }
     },
     "localname": "TierOneLeverageCapitalToAverageAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_TierOneRiskBasedCapital": {
     "auth_ref": [
      "r633"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Tier 1 risk-based capital as defined by regulatory framework.",
        "label": "Tier 1 capital, amount"
       }
      }
     },
     "localname": "TierOneRiskBasedCapital",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy": {
     "auth_ref": [
      "r633",
      "r637"
     ],
     "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 1 capital minimum required for capital adequacy, amount"
       }
      }
     },
     "localname": "TierOneRiskBasedCapitalRequiredForCapitalAdequacy",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets": {
     "auth_ref": [
      "r633",
      "r637"
     ],
     "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 1 capital minimum required for capital adequacy, ratio",
        "terseLabel": "Tier One Risk Based Capital Required for Capital Adequacy to Risk Weighted Assets"
       }
      }
     },
     "localname": "TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details",
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-details-textual"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalized": {
     "auth_ref": [
      "r633"
     ],
     "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 1 capital to be well capitalized, amount"
       }
      }
     },
     "localname": "TierOneRiskBasedCapitalRequiredToBeWellCapitalized",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets": {
     "auth_ref": [
      "r633"
     ],
     "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 1 capital to be well capitalized, ratio"
       }
      }
     },
     "localname": "TierOneRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets": {
     "auth_ref": [
      "r633"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of Tier 1 risk-based capital to risk-weighted assets as defined by regulatory framework.",
        "label": "Tier 1 capital, ratio"
       }
      }
     },
     "localname": "TierOneRiskBasedCapitalToRiskWeightedAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-12-regulatory-matters-actual-capital-levels-and-minimum-levels-details"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_TransferToOtherRealEstate": {
     "auth_ref": [
      "r57",
      "r58",
      "r59"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value transferred from mortgage loans to real estate owned (REO) in noncash transactions.",
        "label": "Transfers from loans to foreclosed assets"
       }
      }
     },
     "localname": "TransferToOtherRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r334",
      "r335",
      "r336",
      "r337",
      "r338",
      "r339",
      "r340",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r353",
      "r431",
      "r432",
      "r511",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r587",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r653",
      "r825",
      "r826",
      "r827",
      "r828",
      "r829",
      "r830",
      "r831",
      "r875",
      "r876",
      "r877",
      "r878"
     ],
     "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": "Financial Instruments [Domain]"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-debt-securities-by-maturity-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details",
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r774",
      "r853",
      "r854",
      "r855",
      "r856"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financing receivable modified for debtor experiencing financial difficulty.",
        "label": "Financing Receivable, Modified [Table Text Block]"
       }
      }
     },
     "localname": "TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TypeOfAdoptionMember": {
     "auth_ref": [
      "r216",
      "r217",
      "r218",
      "r219",
      "r220",
      "r269",
      "r270",
      "r271",
      "r272",
      "r281",
      "r319",
      "r320",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r401",
      "r480",
      "r481",
      "r482",
      "r486",
      "r487",
      "r488",
      "r489",
      "r491",
      "r492",
      "r493",
      "r500",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r520",
      "r521",
      "r522",
      "r523",
      "r533",
      "r534",
      "r538",
      "r539",
      "r540",
      "r541",
      "r549",
      "r550",
      "r553",
      "r554",
      "r555",
      "r556",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r609",
      "r610",
      "r611",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment to accounting standards.",
        "label": "Accounting Standards Update [Domain]"
       }
      }
     },
     "localname": "TypeOfAdoptionMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies",
      "http://www.mercbank.com/20230331/role/statement-note-1-significant-accounting-policies-details-textual",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details",
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USGovernmentAgenciesDebtSecuritiesMember": {
     "auth_ref": [
      "r770",
      "r793",
      "r918"
     ],
     "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": "US Government Agencies Debt Securities [Member]"
       }
      }
     },
     "localname": "USGovernmentAgenciesDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-assets-and-liabilities-measured-at-fair-value-on-a-recurring-basis-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-availableforsale-securities-details",
      "http://www.mercbank.com/20230331/role/statement-note-2-securities-securities-in-a-continuous-loss-position-details"
     ],
     "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]"
       }
      }
     },
     "localname": "UnallocatedFinancingReceivablesMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-3-loans-and-allowance-for-credit-losses-activity-in-allowance-for-loan-losses-and-the-recorded-investments-in-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnrealizedGainLossOnDerivatives": {
     "auth_ref": [
      "r8",
      "r732",
      "r733",
      "r734",
      "r735",
      "r749"
     ],
     "calculation": {
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of derivative instruments, including options, swaps, futures, and forward contracts, held at each balance sheet date, that was included in earnings for the period.",
        "label": "us-gaap_UnrealizedGainLossOnDerivatives",
        "negatedLabel": "Net (gain) loss on instruments designated at fair value and related derivatives"
       }
      }
     },
     "localname": "UnrealizedGainLossOnDerivatives",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnusedLinesOfCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The unused portion of a line of credit that is available to the borrower to withdrawn upon.",
        "label": "Unused lines of Credit [Member]"
       }
      }
     },
     "localname": "UnusedLinesOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-8-commitments-and-offbalance-sheet-risk-exposure-to-credit-losses-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ValuationAllowancesAndReservesBalance": {
     "auth_ref": [
      "r263",
      "r264"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of valuation and qualifying accounts and reserves.",
        "label": "us-gaap_ValuationAllowancesAndReservesBalance",
        "terseLabel": "SEC Schedule, 12-09, Valuation Allowances and Reserves, Amount, Ending Balance"
       }
      }
     },
     "localname": "ValuationAllowancesAndReservesBalance",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-note-11-fair-values-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r283",
      "r288"
     ],
     "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": "Average diluted shares outstanding (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r282",
      "r288"
     ],
     "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": "Average basic shares outstanding (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.mercbank.com/20230331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 7
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481410/810-10-15-12",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "https://asc.fasb.org//1943274/2147481913/940-20-25-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-12",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147481309/942-210-45-4",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.1,2,3)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.12)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.13(1))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.13(a))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.16)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481544/470-10-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.2)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147481160/942-230-45-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-5",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480848/942-470-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480848/942-470-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480848/942-470-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480848/942-470-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-7",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-11",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1)(e))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "405",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147481047/942-405-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.6)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-24",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-25",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "https://asc.fasb.org//235/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147480418/310-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481569/310-20-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481746/310-40-50-4",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "350",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "https://asc.fasb.org//360/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "https://asc.fasb.org//440/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "460",
   "URI": "https://asc.fasb.org//460/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147480008/505-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-19",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "https://asc.fasb.org//815/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "820",
   "URI": "https://asc.fasb.org//820/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-10",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "860",
   "URI": "https://asc.fasb.org//860/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "940",
   "URI": "https://asc.fasb.org//940-320/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.13(3)(a))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1-5)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.10)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.11)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.12)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14(b))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(4)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.2)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.4)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.6)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.7)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.8)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "https://asc.fasb.org//942-320/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "325",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147481026/942-325-45-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480876/942-470-45-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-1A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "946",
   "URI": "https://asc.fasb.org//946-320/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-15",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-6",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-6",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-6",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-6",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-6",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-7",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-8B",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-1A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "840",
   "URI": "https://asc.fasb.org//1943274/2147481161/840-30-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479616/944-310-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479616/944-310-45-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482659/740-20-45-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479584/944-310-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481569/310-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Subparagraph": "(d)",
   "Topic": "958",
   "URI": "https://asc.fasb.org//1943274/2147480321/958-360-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org//1943274/2147480321/958-360-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org//1943274/2147480321/958-360-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481877/830-230-45-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "606",
   "URI": "https://asc.fasb.org//606/tableOfContent",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r203": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r204": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r205": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Publisher": "SEC",
   "Section": "1402",
   "Subsection": "Instruction 3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r206": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1403",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r207": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1404",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r208": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1404",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r209": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r210": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r211": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r212": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(4)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r213": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1405",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r214": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(e)",
   "Publisher": "SEC",
   "Section": "1406",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r215": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Publisher": "SEC",
   "Section": "1406",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "105",
   "URI": "https://asc.fasb.org//1943274/2147479343/105-10-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "105",
   "URI": "https://asc.fasb.org//1943274/2147479343/105-10-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org//1943274/2147479343/105-10-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "https://asc.fasb.org//1943274/2147479343/105-10-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "105",
   "URI": "https://asc.fasb.org//1943274/2147479343/105-10-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(15))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483466/210-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483466/210-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(2)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483466/210-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483466/210-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-10",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-10A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-10A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(24))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483466/210-20-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-12",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-17",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-25",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(i))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(ii)(A)(i))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483466/210-20-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(n))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-09(Column B))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-09(Column E))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-23",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4D",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(4)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-6A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147480530/250-10-S99-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-10",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-16",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-60B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-60B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-10",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482635/260-10-55-15",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org//1943274/2147483014/272-10-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-10A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-13",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-40",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-41",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-42",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481990/310-10-45-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-8",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-34",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-42",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-42",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-42",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "44",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-44",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481598/310-20-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481925/310-20-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-9",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481925/310-20-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "https://asc.fasb.org//320/tableOfContent",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481830/320-10-45-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-10",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aaa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aaa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(3)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(4)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(4)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479344/326-20-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-14",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-16",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-16",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-16",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-16",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-16",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-6A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479130/326-30-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(3)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(i)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org//1943274/2147482598/350-20-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-12",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "50",
   "Subparagraph": "(a)",
   "Topic": "405",
   "URI": "https://asc.fasb.org//1943274/2147477123/405-50-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147480102/450-20-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147480102/450-20-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147480008/505-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-17",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-18",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-18",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-19",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-14",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-14A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480483/718-10-35-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-5",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-12",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-12",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482525/740-10-45-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482525/740-10-45-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-10",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482615/740-10-65-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482615/740-10-65-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482615/740-10-65-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482615/740-10-65-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-13",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147479360/740-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org//1943274/2147479845/805-20-65-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org//1943274/2147479845/805-20-65-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "805",
   "URI": "https://asc.fasb.org//1943274/2147479845/805-20-65-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-25",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-25",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4K",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-5C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-14",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-14",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(h)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(h)(1)(iii)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(h)(1)(iv)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(i)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(i)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480237/815-40-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-21",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-25",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-6A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-6B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-6B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482477/820-10-65-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482477/820-10-65-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482736/825-10-45-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-10",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482833/825-10-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482833/825-10-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-4",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482833/825-10-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482833/825-10-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481694/830-30-45-17",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481694/830-30-45-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481694/830-30-45-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481694/830-30-45-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481694/830-30-45-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481674/830-30-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481674/830-30-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "832",
   "URI": "https://asc.fasb.org//1943274/2147483482/832-10-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-8",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "832",
   "URI": "https://asc.fasb.org//1943274/2147483482/832-10-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147483013/835-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147482900/835-30-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org//1943274/2147479832/842-10-65-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org//1943274/2147479832/842-10-65-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org//1943274/2147479832/842-10-65-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org//1943274/2147479832/842-10-65-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org//1943274/2147479041/842-20-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org//1943274/2147479041/842-20-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(3)",
   "Topic": "842",
   "URI": "https://asc.fasb.org//1943274/2147478964/842-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-9",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(4)",
   "Topic": "842",
   "URI": "https://asc.fasb.org//1943274/2147478964/842-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org//1943274/2147478964/842-20-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848",
   "URI": "https://asc.fasb.org//1943274/2147483550/848-10-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "848",
   "URI": "https://asc.fasb.org//1943274/2147483550/848-10-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "848",
   "URI": "https://asc.fasb.org//1943274/2147483550/848-10-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Topic": "848",
   "URI": "https://asc.fasb.org//1943274/2147483550/848-10-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848",
   "URI": "https://asc.fasb.org//1943274/2147483550/848-10-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org//1943274/2147481435/852-10-45-14",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "https://asc.fasb.org//855/tableOfContent",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org//1943274/2147483399/855-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "https://asc.fasb.org//1943274/2147483399/855-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-4",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481444/860-30-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481420/860-30-50-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481420/860-30-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "50",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481260/860-50-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "50",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481260/860-50-45-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-5",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481260/860-50-45-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-20",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "68B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-68B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org//1943274/2147482546/910-10-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "https://asc.fasb.org//1943274/2147479941/924-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "926",
   "URI": "https://asc.fasb.org//1943274/2147483154/926-20-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "926",
   "URI": "https://asc.fasb.org//1943274/2147483194/926-20-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "926",
   "URI": "https://asc.fasb.org//1943274/2147483194/926-20-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "926",
   "URI": "https://asc.fasb.org//1943274/2147483194/926-20-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "928",
   "URI": "https://asc.fasb.org//1943274/2147483147/928-340-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-15",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-33",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-35A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10)(1))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(6))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r622": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(26))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r623": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r624": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147481160/942-230-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r625": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479557/942-235-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-3A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-3A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r628": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-3A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r629": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480842/942-360-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-40",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r630": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(a)(1)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r631": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(a)(2)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r632": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r633": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(c)(1)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r634": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(c)(2)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r635": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(e)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r636": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r637": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r638": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1D",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r639": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1F",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//310-10/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r640": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(1))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r641": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(10))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r642": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r643": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(19))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r644": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(21))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r645": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(22))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r646": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(3))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r647": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r648": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r649": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8)(b))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r650": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r651": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(11))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r652": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r653": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(2)(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r654": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(22))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r655": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r656": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r657": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.12-17(Column A))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r658": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.12-17(Column B))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r659": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.12-17(Column C))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-29",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r660": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.12-17(Column D))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r661": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.12-17(Column E))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r662": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.12-17(Column F))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r663": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480081/944-40-50-7A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r664": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r665": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r666": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r667": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r668": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r669": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r670": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r671": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r672": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r673": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r674": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r675": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r676": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r677": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(i)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r678": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r679": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r680": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480555/946-210-45-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r681": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r682": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r683": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r684": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(c)(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r685": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-12",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r686": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r687": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r688": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(4)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r689": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(e)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r690": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(f)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r691": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r692": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r693": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(12)(b)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r694": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(12)(b)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r695": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(13)(a)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r696": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(13)(a)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r697": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(14))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r698": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(15))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r699": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(16)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-9",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r700": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(17))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r701": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(19))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r702": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(2)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r703": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(2)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r704": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(3)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r705": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(3)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r706": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(3)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r707": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(5)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r708": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(6)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r709": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(6)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org//1943274/2147482573/350-20-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r710": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(6)(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r711": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(6)(e))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r712": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(8))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r713": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(9)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r714": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(9)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r715": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(9)(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r716": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(9)(e))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r717": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-05(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r718": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-05(4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r719": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r720": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r721": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r722": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r723": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r724": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r725": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r726": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r727": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(5))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r728": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r729": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r730": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r731": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r732": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r733": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(5))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r734": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r735": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r736": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(9))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r737": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(1)(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r738": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r739": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r740": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r741": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r742": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r743": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r744": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r745": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column A)(Footnote 3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r746": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column G)(Footnote 8))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r747": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column G))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r748": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13A(Column E))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r749": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13A(Column F))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r750": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13B(Column E)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r751": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13B(Column E))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r752": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13C(Column F))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r753": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13C(Column H)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r754": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13C(Column H))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r755": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r756": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r757": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r758": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "948",
   "URI": "https://asc.fasb.org//1943274/2147481820/948-310-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r759": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "https://asc.fasb.org//1943274/2147480632/954-210-45-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481544/470-10-50-5",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r760": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "https://asc.fasb.org//1943274/2147480602/954-210-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r761": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r762": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org//1943274/2147482856/976-310-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r763": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org//1943274/2147482707/978-310-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r764": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-4",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r765": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4D",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r766": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480046/944-40-55-13H",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r767": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-20",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r768": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-22",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r769": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-21",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147481089/718-20-55-12",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r770": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(ii)(A))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r771": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482635/260-10-55-52",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r772": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r773": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-31",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r774": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12A",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481933/310-10-55-12A",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r775": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-10",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r776": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-11",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r777": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-12",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r778": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-12",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r779": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(d)(1)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-12",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147481089/718-20-55-13",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r780": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(d)(2)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-12",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r781": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-15",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r782": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "79",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-79",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r783": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "80",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-80",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r784": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479081/326-30-55-8",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r785": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org//1943274/2147482548/350-20-55-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r786": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r787": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69B",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r788": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69C",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r789": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69E",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r790": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69F",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r791": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r792": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479777/606-10-55-91",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r793": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r794": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r795": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480482/715-20-55-17",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r796": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480547/715-80-55-8",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r797": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "53",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org//1943274/2147479589/842-20-55-53",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r798": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org//1943274/2147481372/852-10-55-10",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r799": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479401/944-30-55-2",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r800": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480046/944-40-55-29F",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r801": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r802": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r803": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480493/946-210-55-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r804": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "230",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480348/946-230-55-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r805": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Subparagraph": "(d)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480833/946-310-45-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r806": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r807": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r808": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r809": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13C(Column A)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5C",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r810": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13C(Column B)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5C",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r811": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r812": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "830",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-10",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r813": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "830",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-11",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r814": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "830",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-12",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r815": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r816": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r817": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r818": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "308",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r819": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r820": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r821": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481569/310-20-50-3",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r822": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-10",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r823": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org//1943274/2147483399/855-10-50-3",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r824": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480081/944-40-50-4H",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r825": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r826": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r827": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r828": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r829": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r830": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r831": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r832": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1404",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r833": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r834": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r835": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r836": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r837": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-5",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r838": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r839": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(4))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r840": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-12",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r841": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-14",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r842": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-14",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r843": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r844": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-25",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r845": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r846": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r847": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r848": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-23",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r849": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r850": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-5",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r851": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r852": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//310-10/tableOfContent",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r853": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-33",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r854": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-34",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r855": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-42",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r856": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-42",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r857": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7A",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r858": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481830/320-10-45-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r859": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481830/320-10-45-11",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r860": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r861": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r862": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r863": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aaa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r864": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r865": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r866": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r867": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r868": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r869": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r870": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r871": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r872": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r873": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r874": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r875": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-9",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r876": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r877": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r878": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r879": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r880": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479344/326-20-45-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r881": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r882": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-14",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r883": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-5",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r884": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r885": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org//1943274/2147482573/350-20-50-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r886": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "350",
   "URI": "https://asc.fasb.org//1943274/2147482573/350-20-50-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r887": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org//1943274/2147481931/410-30-50-10",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r888": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "https://asc.fasb.org//450/tableOfContent",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r889": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-9",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4C",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r890": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147480102/450-20-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r891": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "https://asc.fasb.org//1943274/2147482425/460-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r892": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r893": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r894": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r895": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r896": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r897": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r898": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r899": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-5",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480463/815-10-45-5",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4D",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r900": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479777/606-10-55-91",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r901": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r902": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1A",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r903": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1B",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r904": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-28",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r905": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org//1943274/2147479041/842-20-45-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r906": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(3)",
   "Topic": "842",
   "URI": "https://asc.fasb.org//1943274/2147478964/842-20-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r907": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org//1943274/2147478964/842-20-50-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r908": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org//1943274/2147481404/852-10-50-7",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r909": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org//1943274/2147481404/852-10-50-7",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-5",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r910": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r911": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r912": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r913": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r914": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r915": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r916": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r917": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(7)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r918": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r919": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480876/942-470-45-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-7",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r920": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r921": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479432/944-30-50-2B",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r922": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480109/944-80-50-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r923": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-15",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r924": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-16",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r925": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r926": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(3)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r927": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(i)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r928": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r929": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-8",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r930": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "39",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "830",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480228/946-830-45-39",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-8",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-8",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "182",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480401/815-10-55-182",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-11",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  }
 },
 "version": "2.2"
}
