XML 51 R42.htm IDEA: XBRL DOCUMENT
v3.22.2

Investment Securities (Narrative) (Details) - USD ($) | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Dec. 31, 2021
Schedule of Investments [Line Items] |  |  |  |  |
Available-for-sale Securities Pledged as Collateral | $ 380,649,000 |  | $ 380,649,000 |  | $ 244,763,000
Debt Securities, Available-for-sale, Restriction Type [Extensible List] | us-gaap:CollateralPledgedMember |  | us-gaap:CollateralPledgedMember |  | us-gaap:CollateralPledgedMember
Gross realized gains and losses on sales of available-for-sale debt securities | $ 0 | $ 0 | $ 0 | $ 0 |
FHLB [Member] |  |  |  |  |
Schedule of Investments [Line Items] |  |  |  |  |
Letter of credit outstanding, amount | $ 205,100,000 |  | $ 205,100,000 |  | $ 450,850,000

X
- Definition Debt securities available for sale restrictions type. + References No definition available. + Details
Name: | mpb_DebtSecuritiesAvailableForSaleRestrictionsTypeExtensibleList
Namespace Prefix: | mpb_
Data Type: | xbrli:tokenItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27357-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of restricted investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 954 -SubTopic 210 -Section 45 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=120413173&loc=SL6242262-115580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 30 -Section 50 -Paragraph 1A -Subparagraph (b)(1)(i) -URI https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 954 -SubTopic 210 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=127002003&loc=SL6242269-115581 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRestricted
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition 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. + References No definition available. + Details
Name: | us-gaap_ScheduleOfInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_FederalHomeLoanBankCertificatesAndObligationsFHLBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |