XML 90 R66.htm IDEA: XBRL DOCUMENT
v3.24.1

Loans and Allowance for Credit Losses - Loans - Risk Ratings by Portfolio Type (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | $ 745,264 |  |
2022 | 1,004,557 |  |
2021 | 625,463 |  |
2020 | 446,798 |  |
2019 | 273,438 |  |
Prior | 809,335 |  |
Revolving Loans Amortized Cost Basis | 347,937 |  |
Loans, net of unearned interest | 4,252,792 | $ 3,514,119 |
Gross charge offs |  |  |
Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff | (402) | (131) | $ (1,988)
Net charge offs |  |  |
Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Recovery | 70 | 191 | 258
Performing Financial Instruments |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 160,995 |  |
2022 | 153,957 |  |
2021 | 112,259 |  |
2020 | 90,655 |  |
2019 | 28,086 |  |
Prior | 179,001 |  |
Revolving Loans Amortized Cost Basis | 90,526 |  |
Loans, net of unearned interest | 815,479 |  |
Nonperforming Financial Instruments |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 93 |  |
2020 | 1,470 |  |
2019 | 0 |  |
Prior | 3,998 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Loans, net of unearned interest | 5,561 |  |
Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 584,075 |  |
2022 | 844,729 |  |
2021 | 510,017 |  |
2020 | 350,064 |  |
2019 | 238,887 |  |
Prior | 592,074 |  |
Revolving Loans Amortized Cost Basis | 250,237 |  |
Loans, net of unearned interest | 3,370,083 | 3,456,553 |
Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 194 |  |
2022 | 89 |  |
2021 | 2,224 |  |
2020 | 1,447 |  |
2019 | 6,236 |  |
Prior | 12,682 |  |
Revolving Loans Amortized Cost Basis | 4,577 |  |
Loans, net of unearned interest | 27,449 | 21,897 |
Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 5,782 |  |
2021 | 870 |  |
2020 | 3,162 |  |
2019 | 229 |  |
Prior | 21,580 |  |
Revolving Loans Amortized Cost Basis | 2,597 |  |
Loans, net of unearned interest | 34,220 | 35,669 |
Commercial real estate |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 271,849 |  |
2022 | 562,010 |  |
2021 | 387,119 |  |
2020 | 300,908 |  |
2019 | 184,672 |  |
Prior | 556,153 |  |
Revolving Loans Amortized Cost Basis | 38,495 |  |
Loans, net of unearned interest | 2,301,206 | 2,052,934 |
Gross charge offs |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | (16) |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff | (16) | (7) | (1,044)
Current period recoveries |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | (16) |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Total | (16) |  |
Net charge offs |  |  |
Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Recovery |  | 128 | 207
Commercial real estate | Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 271,655 |  |
2022 | 556,801 |  |
2021 | 386,911 |  |
2020 | 297,746 |  |
2019 | 178,434 |  |
Prior | 528,326 |  |
Revolving Loans Amortized Cost Basis | 38,261 |  |
Loans, net of unearned interest | 2,258,134 | 2,018,088 |
Commercial real estate | Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 194 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 6,009 |  |
Prior | 10,482 |  |
Revolving Loans Amortized Cost Basis | 186 |  |
Loans, net of unearned interest | 16,871 | 12,325 |
Commercial real estate | Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 5,209 |  |
2021 | 208 |  |
2020 | 3,162 |  |
2019 | 229 |  |
Prior | 17,345 |  |
Revolving Loans Amortized Cost Basis | 48 |  |
Loans, net of unearned interest | 26,201 | 22,521 |
Commercial and industrial |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 158,824 |  |
2022 | 106,803 |  |
2021 | 71,334 |  |
2020 | 29,961 |  |
2019 | 50,433 |  |
Prior | 62,070 |  |
Revolving Loans Amortized Cost Basis | 195,654 |  |
Loans, net of unearned interest | 675,079 | 596,042 |
Gross charge offs |  |  |
2023 | 0 |  |
2022 | (100) |  |
2021 | 0 |  |
2020 | (111) |  |
2019 | 0 |  |
Prior | (27) |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff | (238) | (1) | (866)
Current period recoveries |  |  |
2023 | 0 |  |
2022 | (100) |  |
2021 | 0 |  |
2020 | (111) |  |
2019 | 0 |  |
Prior | (27) |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Total | (238) |  |
Net charge offs |  |  |
Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Recovery | 0 | 13 | 13
Commercial and industrial | Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 158,824 |  |
2022 | 106,714 |  |
2021 | 68,448 |  |
2020 | 29,961 |  |
2019 | 50,206 |  |
Prior | 57,892 |  |
Revolving Loans Amortized Cost Basis | 188,714 |  |
Loans, net of unearned interest | 660,759 | 582,540 |
Commercial and industrial | Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 89 |  |
2021 | 2,224 |  |
2020 | 0 |  |
2019 | 227 |  |
Prior | 2,200 |  |
Revolving Loans Amortized Cost Basis | 4,391 |  |
Loans, net of unearned interest | 9,131 | 4,212 |
Commercial and industrial | Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 662 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 1,978 |  |
Revolving Loans Amortized Cost Basis | 2,549 |  |
Loans, net of unearned interest | 5,189 | 9,290 |
Construction |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 153,596 |  |
2022 | 181,787 |  |
2021 | 54,658 |  |
2020 | 23,804 |  |
2019 | 10,247 |  |
Prior | 8,113 |  |
Revolving Loans Amortized Cost Basis | 23,262 |  |
Loans, net of unearned interest | 455,467 | 441,246 |
Gross charge offs |  |  |
Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff |  | 0 | (23)
Net charge offs |  |  |
Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Recovery |  | 24 | 8
Construction | Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 153,596 |  |
2022 | 181,214 |  |
2021 | 54,658 |  |
2020 | 22,357 |  |
2019 | 10,247 |  |
Prior | 5,856 |  |
Revolving Loans Amortized Cost Basis | 23,262 |  |
Loans, net of unearned interest | 451,190 | 438,990 |
Construction | Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 1,447 |  |
2019 | 0 |  |
Prior | 0 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Loans, net of unearned interest | 1,447 | 2,256 |
Construction | Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 573 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 2,257 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Loans, net of unearned interest | 2,830 | 0 |
Residential mortgage |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 158,634 |  |
2022 | 153,203 |  |
2021 | 111,703 |  |
2020 | 91,852 |  |
2019 | 27,863 |  |
Prior | 182,896 |  |
Revolving Loans Amortized Cost Basis | 87,723 |  |
Loans, net of unearned interest | 813,874 | 416,221 |
Gross charge offs |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | (13) |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff | (13) | (26) | (13)
Current period recoveries |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 25 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Total | 25 |  |
Net charge offs |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 38 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Recovery | 38 | 4 | 11
Residential mortgage | Performing Financial Instruments |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 158,634 |  |
2022 | 153,203 |  |
2021 | 111,610 |  |
2020 | 90,382 |  |
2019 | 27,863 |  |
Prior | 178,898 |  |
Revolving Loans Amortized Cost Basis | 87,723 |  |
Loans, net of unearned interest | 808,313 |  |
Residential mortgage | Nonperforming Financial Instruments |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 93 |  |
2020 | 1,470 |  |
2019 | 0 |  |
Prior | 3,998 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Loans, net of unearned interest | 5,561 |  |
Residential mortgage | Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  | 409,259 |
Residential mortgage | Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  | 3,104 |
Residential mortgage | Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  | 3,858 |
Consumer |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 2,361 |  |
2022 | 754 |  |
2021 | 649 |  |
2020 | 273 |  |
2019 | 223 |  |
Prior | 103 |  |
Revolving Loans Amortized Cost Basis | 2,803 |  |
Loans, net of unearned interest | 7,166 | 7,676 |
Gross charge offs |  |  |
2023 | (86) |  |
2022 | 0 |  |
2021 | (10) |  |
2020 | (9) |  |
2019 | 0 |  |
Prior | (30) |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff | (135) | (97) | (42)
Current period recoveries |  |  |
2023 | (60) |  |
2022 | 0 |  |
2021 | (10) |  |
2020 | (8) |  |
2019 | 0 |  |
Prior | (25) |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Total | (103) |  |
Net charge offs |  |  |
2023 | 26 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 1 |  |
2019 | 0 |  |
Prior | 5 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Recovery | 32 | 22 | $ 19
Consumer | Performing Financial Instruments |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 2,361 |  |
2022 | 754 |  |
2021 | 649 |  |
2020 | 273 |  |
2019 | 223 |  |
Prior | 103 |  |
Revolving Loans Amortized Cost Basis | 2,803 |  |
Loans, net of unearned interest | 7,166 |  |
Consumer | Nonperforming Financial Instruments |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 0 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Loans, net of unearned interest | $ 0 |  |
Consumer | Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  | 7,676 |
Consumer | Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  | 0 |
Consumer | Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  | $ 0 |

X
- Definition Financing Receivable, Excluding Accrued Interest, Allowance For Credit Loss, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecoveryAbstract
Namespace Prefix: | mpb_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Allowance For Credit Loss, Writeoff + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAbstract
Namespace Prefix: | mpb_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Originated, More than Five Years before Current Fiscal Year, Net Writeoff (Recovery) + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearNetWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Originated, More than Five Years before Current Fiscal Year, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Revolving, Net Writeoff (Recovery) + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestRevolvingNetWriteoffRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Revolving, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestRevolvingRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Five, Originated, Four Years before Current Fiscal Year, Net Writeoff (Recovery) + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearNetWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Five, Originated, Four Years before Current Fiscal Year, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Four, Originated, Three Years before Current Fiscal Year, Net Writeoff (Recovery) + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearNetWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Four, Originated, Three Years before Current Fiscal Year, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year One, Originated, Current Fiscal Year, Net Writeoff (Recovery) + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearNetWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year One, Originated, Current Fiscal Year, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Three, Originated, Two Years before Current Fiscal Year, Net Writeoff + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearNetWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Three, Originated, Two Years before Current Fiscal Year, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Two, Originated, Fiscal Year before Current Fiscal Year, Net Writeoff + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearNetWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Two, Originated, Fiscal Year before Current Fiscal Year, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, excluding accrued interest, of increase in allowance for credit loss on financing receivable from recovery. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-13 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, excluding accrued interest, of decrease in allowance for credit loss on financing receivable from writeoff. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-13 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, excluding accrued interest, of decrease (increase) in allowance for credit loss on financing receivable from writeoff (recovery). Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-13 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecoveryAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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 Amortized cost excluding accrued interest, of financing receivable originated more than five years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: 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 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 3: 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 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated more than five years before current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, of financing receivable that can be withdrawn, repaid, and redrawn. + References Reference 1: 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 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 3: 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 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestRevolving
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable that can be withdrawn, repaid, and redrawn. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated four years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: 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 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 3: 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 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated four years before current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated three years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: 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 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 3: 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 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated three years before current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated in current fiscal year. Excludes net investment in lease. + References Reference 1: 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 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 3: 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 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated in current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated two years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: 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 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 3: 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 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated two years before current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest of financing receivable originated in fiscal year prior to current fiscal year. Excludes net investment in lease. + References Reference 1: 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 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 3: 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 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated in fiscal year before current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | us-gaap_FinancialInstrumentPerformanceStatusAxis=us-gaap_NonperformingFinancingReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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_CommercialRealEstatePortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember
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: |