XML 57 R47.htm IDEA: XBRL DOCUMENT
v3.23.1

Loans and Allowance for Credit Losses - Loans - Internal Risk Ratings (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
Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 2,944,980 | 3,456,553 |
Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 15,343 | 21,897 |
Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 30,627 | 35,669 |
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) | Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 1,870,993 | 2,018,088 |
Commercial portfolio | Commercial real estate (1) | Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 8,952 | 12,325 |
Commercial portfolio | Commercial real estate (1) | Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 19,223 | 22,521 |
Commercial portfolio | Commercial and industrial |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 605,610 | 596,042 | 585,921
Commercial portfolio | Commercial and industrial | Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 590,071 | 582,540 |
Commercial portfolio | Commercial and industrial | Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 6,391 | 4,212 |
Commercial portfolio | Commercial and industrial | Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 9,148 | 9,290 |
Commercial portfolio | Construction |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 486,172 | 441,246 | 380,910
Commercial portfolio | Construction | Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 483,916 | 438,990 |
Commercial portfolio | Construction | Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 0 | 2,256 |
Commercial portfolio | Construction | Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 2,256 | 0 |
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 | Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  | 409,259 |
Consumer Portfolio Segment | Residential mortgage | Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  | 3,104 |
Consumer Portfolio Segment | Residential mortgage | Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  | 3,858 |
Consumer Portfolio Segment | Consumer |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | $ 7,970 | 7,676 | $ 11,458
Consumer Portfolio Segment | Consumer | Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  | 7,676 |
Consumer Portfolio Segment | Consumer | Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  | 0 |
Consumer Portfolio Segment | Consumer | Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  | $ 0 |

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_InternalCreditAssessmentAxis=us-gaap_PassMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SpecialMentionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SubstandardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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_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: |