XML 49 R39.htm IDEA: XBRL DOCUMENT
v3.23.1

Loans and Allowance for Credit Losses - Loans - Classes Of The Loan Portfolio (Details) - USD ($) $ in Thousands | Mar. 31, 2023 | Dec. 31, 2022 | Mar. 31, 2022
--- | --- | --- | ---
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | $ 3,611,347 | $ 3,514,119 | $ 3,113,770
Commercial portfolio | Commercial real estate (1) |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 1,899,168 | 2,052,934 | 1,719,458
Commercial portfolio | Commercial real estate (1) | Revision of Prior Period, Accounting Standards Update, Adjustment |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  | (181,900) |
Commercial portfolio | Commercial and industrial |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 605,610 | 596,042 | 585,921
Commercial portfolio | Construction |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 486,172 | 441,246 | 380,910
Consumer Portfolio Segment | Residential mortgage |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 612,427 | 416,221 | 416,023
Consumer Portfolio Segment | Residential mortgage | Revision of Prior Period, Accounting Standards Update, Adjustment |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  | 181,900 |
Consumer Portfolio Segment | Consumer |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | $ 7,970 | $ 7,676 | $ 11,458

X
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, of financing receivable. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_FinancingReceivableRecordedInvestmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_RealEstateLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ReclassificationTypeAxis=srt_RevisionOfPriorPeriodAccountingStandardsUpdateAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mpb_CommercialAndIndustrialLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_ConstructionLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ConsumerPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_ResidentialMortgageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_ConsumerLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |