XML 47 R38.htm IDEA: XBRL DOCUMENT
v3.23.3

Loans and Allowance for Credit Losses - Loans - Classes Of The Loan Portfolio (Details) - USD ($) $ in Thousands | Sep. 30, 2023 | Dec. 31, 2022 | Sep. 30, 2022
--- | --- | --- | ---
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | $ 4,145,657 | $ 3,514,119 | $ 3,314,942
Commercial portfolio | Commercial real estate |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 2,288,396 | 2,052,934 | 1,942,725
Commercial portfolio | Commercial real estate | 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 | 648,439 | 596,042 | 555,487
Commercial portfolio | Construction |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 462,215 | 441,246 | 398,966
Consumer portfolio | Residential mortgage |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | 743,533 | 416,221 | 409,611
Consumer portfolio | 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 | Consumer |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest | $ 3,074 | $ 7,676 | $ 8,153

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/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479344/326-20-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-3B Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-5 + 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 Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-5 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479294/326-20-55-79 + 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: |