XML 215 R71.htm IDEA: XBRL DOCUMENT
v3.25.4

Loans and Allowance for Credit Losses - Loans - Schedule of Risk Ratings by Portfolio Type (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2025 | Dec. 31, 2024
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | $ 651,488 | $ 452,501
Year two | 447,833 | 741,401
Year three | 681,195 | 974,898
Year four | 941,099 | 529,580
Year five | 483,942 | 392,001
Prior | 1,198,420 | 949,299
Revolving Loans Amortized Cost Basis | 458,861 | 403,390
Loans, net of unearned income | 4,862,838 | 4,443,070
Gross charge-offs |  |
Total | (1,823) | (901)
Current period recoveries |  |
Total | 459 | 84
Performing |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 117,432 | 66,625
Year two | 57,096 | 128,347
Year three | 124,031 | 144,750
Year four | 157,616 | 99,379
Year five | 103,327 | 80,238
Prior | 325,258 | 179,902
Revolving Loans Amortized Cost Basis | 121,587 | 95,633
Loans, net of unearned income | 1,006,347 | 794,874
Nonperforming |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 | 0
Year two | 1,151 | 168
Year three | 514 | 0
Year four | 200 | 0
Year five | 1,572 | 806
Prior | 6,346 | 2,633
Revolving Loans Amortized Cost Basis | 1,001 | 1,001
Loans, net of unearned income | 10,784 | 4,608
Pass |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 534,056 | 385,876
Year two | 389,290 | 610,959
Year three | 536,002 | 823,394
Year four | 779,232 | 428,857
Year five | 375,146 | 306,508
Prior | 848,781 | 734,660
Revolving Loans Amortized Cost Basis | 330,752 | 299,622
Loans, net of unearned income | 3,793,259 | 3,589,876
Special mention |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 | 0
Year two | 0 | 412
Year three | 3,048 | 5,494
Year four | 1,663 | 258
Year five | 172 | 0
Prior | 4,566 | 10,989
Revolving Loans Amortized Cost Basis | 0 | 4,688
Loans, net of unearned income | 9,449 | 21,841
Substandard or lower |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 | 0
Year two | 296 | 1,515
Year three | 17,600 | 1,260
Year four | 2,388 | 1,086
Year five | 3,725 | 4,449
Prior | 13,469 | 21,115
Revolving Loans Amortized Cost Basis | 5,521 | 2,446
Loans, net of unearned income | 42,999 | 31,871
Commercial real estate |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned income | 2,729,987 | 2,512,626
Commercial real estate | CRE Nonowner Occupied |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 156,421 | 85,501
Year two | 98,728 | 177,533
Year three | 192,111 | 344,332
Year four | 358,610 | 152,157
Year five | 156,310 | 133,931
Prior | 385,751 | 345,824
Revolving Loans Amortized Cost Basis | 16,109 | 11,732
Loans, net of unearned income | 1,364,040 | 1,251,010
Gross charge-offs |  |
Year one | 0 |
Year two | 0 |
Year three | 0 |
Year four | (691) |
Year five | 0 |
Prior | (394) |
Revolving Loans Amortized Cost Basis | 0 |
Total | (1,085) | 0
Current period recoveries |  |
Year one | 0 | 0
Year two | 0 | 0
Year three | 0 | 0
Year four | 301 | 0
Year five | 0 | 0
Prior | 4 | 2
Revolving Loans Amortized Cost Basis | 0 | 0
Total | 305 | 2
Net charge-offs |  |
Year one | 0 | 0
Year two | 0 | 0
Year three | 0 | 0
Year four | (390) | 0
Year five | 0 | 0
Prior | (390) | 2
Revolving Loans Amortized Cost Basis | 0 | 0
Total | (780) | 2
Commercial real estate | CRE Owner Occupied |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 119,632 | 52,922
Year two | 66,159 | 99,287
Year three | 98,341 | 111,867
Year four | 109,154 | 66,581
Year five | 64,827 | 77,774
Prior | 244,381 | 203,946
Revolving Loans Amortized Cost Basis | 16,370 | 11,630
Loans, net of unearned income | 718,864 | 624,007
Gross charge-offs |  |
Year one | 0 |
Year two | (346) |
Year three | 0 |
Year four | 0 |
Year five | 0 |
Prior | 0 |
Revolving Loans Amortized Cost Basis | 0 |
Total | (346) | 0
Current period recoveries |  |
Year one |  | 0
Year two |  | 0
Year three |  | 0
Year four |  | 0
Year five |  | 0
Prior |  | 4
Revolving Loans Amortized Cost Basis |  | 0
Total | 0 | 4
Net charge-offs |  |
Year one | 0 | 0
Year two | (346) | 0
Year three | 0 | 0
Year four | 0 | 0
Year five | 0 | 0
Prior | 0 | 4
Revolving Loans Amortized Cost Basis | 0 | 0
Total | (346) | 4
Commercial real estate | Multifamily |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 37,788 | 4,843
Year two | 4,816 | 66,119
Year three | 62,305 | 118,568
Year four | 156,236 | 101,871
Year five | 68,254 | 40,450
Prior | 86,597 | 78,278
Revolving Loans Amortized Cost Basis | 3,271 | 2,771
Loans, net of unearned income | 419,267 | 412,900
Gross charge-offs |  |
Total | 0 | 0
Current period recoveries |  |
Total | 0 | 0
Commercial real estate | Farmland |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 29,858 | 27,449
Year two | 23,228 | 31,387
Year three | 25,098 | 56,178
Year four | 51,055 | 42,693
Year five | 38,950 | 25,119
Prior | 44,372 | 26,892
Revolving Loans Amortized Cost Basis | 15,255 | 14,991
Loans, net of unearned income | 227,816 | 224,709
Gross charge-offs |  |
Total | 0 | 0
Current period recoveries |  |
Total | 0 | 0
Commercial real estate | Pass | CRE Nonowner Occupied |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 156,421 | 85,501
Year two | 98,728 | 176,018
Year three | 188,873 | 343,072
Year four | 358,610 | 152,157
Year five | 156,310 | 130,650
Prior | 375,646 | 325,478
Revolving Loans Amortized Cost Basis | 16,109 | 11,732
Loans, net of unearned income | 1,350,697 | 1,224,608
Commercial real estate | Pass | CRE Owner Occupied |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 119,632 | 52,922
Year two | 65,978 | 99,065
Year three | 97,419 | 106,876
Year four | 105,690 | 66,160
Year five | 64,478 | 77,774
Prior | 239,464 | 199,725
Revolving Loans Amortized Cost Basis | 16,370 | 11,630
Loans, net of unearned income | 709,031 | 614,152
Commercial real estate | Pass | Multifamily |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 37,788 | 4,843
Year two | 4,816 | 66,119
Year three | 62,305 | 118,568
Year four | 156,236 | 101,871
Year five | 68,254 | 40,450
Prior | 86,424 | 78,070
Revolving Loans Amortized Cost Basis | 3,271 | 2,771
Loans, net of unearned income | 419,094 | 412,692
Commercial real estate | Pass | Farmland |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 29,858 | 27,449
Year two | 23,228 | 31,259
Year three | 24,273 | 56,178
Year four | 51,055 | 42,693
Year five | 36,651 | 25,119
Prior | 44,326 | 24,729
Revolving Loans Amortized Cost Basis | 15,255 | 14,801
Loans, net of unearned income | 224,646 | 222,228
Commercial real estate | Special mention | CRE Nonowner Occupied |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 | 0
Year two | 0 | 0
Year three | 1,698 | 0
Year four | 0 | 0
Year five | 0 | 0
Prior | 90 | 3,105
Revolving Loans Amortized Cost Basis | 0 | 0
Loans, net of unearned income | 1,788 | 3,105
Commercial real estate | Special mention | CRE Owner Occupied |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 | 0
Year two | 0 | 222
Year three | 922 | 4,991
Year four | 1,576 | 227
Year five | 172 | 0
Prior | 2,939 | 2,133
Revolving Loans Amortized Cost Basis | 0 | 0
Loans, net of unearned income | 5,609 | 7,573
Commercial real estate | Special mention | Multifamily |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 | 0
Year two | 0 | 0
Year three | 0 | 0
Year four | 0 | 0
Year five | 0 | 0
Prior | 42 | 54
Revolving Loans Amortized Cost Basis | 0 | 0
Loans, net of unearned income | 42 | 54
Commercial real estate | Special mention | Farmland |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 | 0
Year two | 0 | 128
Year three | 428 | 0
Year four | 0 | 0
Year five | 0 | 0
Prior | 0 | 2,163
Revolving Loans Amortized Cost Basis | 0 | 190
Loans, net of unearned income | 428 | 2,481
Commercial real estate | Substandard or lower | CRE Nonowner Occupied |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 | 0
Year two | 0 | 1,515
Year three | 1,540 | 1,260
Year four | 0 | 0
Year five | 0 | 3,281
Prior | 10,015 | 17,241
Revolving Loans Amortized Cost Basis | 0 | 0
Loans, net of unearned income | 11,555 | 23,297
Commercial real estate | Substandard or lower | CRE Owner Occupied |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 | 0
Year two | 181 | 0
Year three | 0 | 0
Year four | 1,888 | 194
Year five | 177 | 0
Prior | 1,978 | 2,088
Revolving Loans Amortized Cost Basis | 0 | 0
Loans, net of unearned income | 4,224 | 2,282
Commercial real estate | Substandard or lower | Multifamily |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 | 0
Year two | 0 | 0
Year three | 0 | 0
Year four | 0 | 0
Year five | 0 | 0
Prior | 131 | 154
Revolving Loans Amortized Cost Basis | 0 | 0
Loans, net of unearned income | 131 | 154
Commercial real estate | Substandard or lower | Farmland |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 |
Year two | 0 |
Year three | 397 |
Year four | 0 |
Year five | 2,299 |
Prior | 46 |
Revolving Loans Amortized Cost Basis | 0 |
Loans, net of unearned income | 2,742 |
Commercial and industrial |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 96,562 | 114,175
Year two | 89,656 | 106,719
Year three | 86,436 | 79,205
Year four | 65,119 | 55,235
Year five | 42,912 | 22,700
Prior | 93,328 | 97,889
Revolving Loans Amortized Cost Basis | 246,018 | 229,469
Loans, net of unearned income | 720,031 | 705,392
Gross charge-offs |  |
Year one | 0 | 0
Year two | 0 | (201)
Year three | 0 | 0
Year four | 0 | 0
Year five | 0 | (206)
Prior | (294) | (412)
Revolving Loans Amortized Cost Basis | 0 | 0
Total | (294) | (819)
Current period recoveries |  |
Year one | 0 | 0
Year two | 0 | 0
Year three | 1 | 0
Year four | 0 | 0
Year five | 0 | 0
Prior | 8 | 1
Revolving Loans Amortized Cost Basis | 0 | 0
Total | 9 | 1
Net charge-offs |  |
Year one | 0 | 0
Year two | 0 | (201)
Year three | 1 | 0
Year four | 0 | 0
Year five | 0 | (206)
Prior | (286) | (411)
Revolving Loans Amortized Cost Basis | 0 | 0
Total | (285) | (818)
Commercial and industrial | Pass |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 96,562 | 114,175
Year two | 89,541 | 106,657
Year three | 70,773 | 78,702
Year four | 64,532 | 54,312
Year five | 41,663 | 21,532
Prior | 90,534 | 92,723
Revolving Loans Amortized Cost Basis | 240,497 | 222,525
Loans, net of unearned income | 694,102 | 690,626
Commercial and industrial | Special mention |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 | 0
Year two | 0 | 62
Year three | 0 | 503
Year four | 87 | 31
Year five | 0 | 0
Prior | 1,495 | 3,534
Revolving Loans Amortized Cost Basis | 0 | 4,498
Loans, net of unearned income | 1,582 | 8,628
Commercial and industrial | Substandard or lower |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 | 0
Year two | 115 | 0
Year three | 15,663 | 0
Year four | 500 | 892
Year five | 1,249 | 1,168
Prior | 1,299 | 1,632
Revolving Loans Amortized Cost Basis | 5,521 | 2,446
Loans, net of unearned income | 24,347 | 6,138
Construction |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned income | 395,689 | 425,570
Construction | Residential Construction |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 29,399 | 34,275
Year two | 27,382 | 37,222
Year three | 17,469 | 15,559
Year four | 351 | 0
Year five | 0 | 0
Prior | 0 | 2,007
Revolving Loans Amortized Cost Basis | 10,698 | 10,336
Loans, net of unearned income | 85,299 | 99,399
Gross charge-offs |  |
Total | 0 | 0
Current period recoveries |  |
Total | 0 | 0
Construction | Other Construction |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 64,396 | 66,711
Year two | 79,617 | 94,619
Year three | 74,890 | 104,439
Year four | 42,758 | 11,664
Year five | 7,790 | 10,983
Prior | 12,387 | 11,928
Revolving Loans Amortized Cost Basis | 28,552 | 25,827
Loans, net of unearned income | 310,390 | 326,171
Gross charge-offs |  |
Total | 0 | 0
Current period recoveries |  |
Total | 0 | 0
Construction | Pass | Residential Construction |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 29,399 | 34,275
Year two | 27,382 | 37,222
Year three | 17,469 | 15,559
Year four | 351 | 0
Year five | 0 | 0
Prior | 0 | 2,007
Revolving Loans Amortized Cost Basis | 10,698 | 10,336
Loans, net of unearned income | 85,299 | 99,399
Construction | Pass | Other Construction |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 64,396 | 66,711
Year two | 79,617 | 94,619
Year three | 74,890 | 104,439
Year four | 42,758 | 11,664
Year five | 7,790 | 10,983
Prior | 12,387 | 11,928
Revolving Loans Amortized Cost Basis | 28,552 | 25,827
Loans, net of unearned income | 310,390 | 326,171
Residential mortgage |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned income | 1,006,502 | 790,620
Residential mortgage | 1-4 Family 1st Lien |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 57,120 | 27,580
Year two | 28,810 | 59,762
Year three | 60,020 | 45,946
Year four | 49,100 | 34,743
Year five | 38,466 | 42,938
Prior | 182,416 | 99,708
Revolving Loans Amortized Cost Basis | 1,489 | 2,915
Loans, net of unearned income | 417,421 | 313,592
Gross charge-offs |  |
Year one |  | 0
Year two |  | 0
Year three |  | 0
Year four |  | 0
Year five |  | 0
Prior |  | (7)
Revolving Loans Amortized Cost Basis |  | 0
Total | 0 | (7)
Current period recoveries |  |
Year one | 0 | 0
Year two | 0 | 0
Year three | 0 | 0
Year four | 0 | 0
Year five | 0 | 0
Prior | 90 | 16
Revolving Loans Amortized Cost Basis | 0 | 0
Total | 90 | 16
Net charge-offs |  |
Year one | 0 | 0
Year two | 0 | 0
Year three | 0 | 0
Year four | 0 | 0
Year five | 0 | 0
Prior | 90 | 9
Revolving Loans Amortized Cost Basis | 0 | 0
Total | 90 | 9
Residential mortgage | 1-4 Family Rental |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 46,766 | 28,735
Year two | 22,067 | 51,635
Year three | 46,177 | 88,594
Year four | 99,841 | 59,397
Year five | 61,353 | 35,817
Prior | 132,607 | 70,449
Revolving Loans Amortized Cost Basis | 2,154 | 2,009
Loans, net of unearned income | 410,965 | 336,636
Gross charge-offs |  |
Year one |  | 0
Year two |  | 0
Year three |  | 0
Year four |  | 0
Year five |  | 0
Prior |  | (2)
Revolving Loans Amortized Cost Basis |  | 0
Total | 0 | (2)
Current period recoveries |  |
Year one |  | 0
Year two |  | 0
Year three |  | 0
Year four |  | 0
Year five |  | 0
Prior |  | 22
Revolving Loans Amortized Cost Basis |  | 0
Total | 0 | 22
Net charge-offs |  |
Year one |  | 0
Year two |  | 0
Year three |  | 0
Year four |  | 0
Year five |  | 0
Prior |  | 20
Revolving Loans Amortized Cost Basis |  | 0
Total |  | 20
Residential mortgage | HELOC and Junior Liens |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 8,403 | 6,096
Year two | 6,201 | 16,146
Year three | 17,490 | 9,856
Year four | 8,599 | 4,845
Year five | 4,815 | 2,182
Prior | 15,879 | 12,144
Revolving Loans Amortized Cost Basis | 116,729 | 89,123
Loans, net of unearned income | 178,116 | 140,392
Gross charge-offs |  |
Year one |  | 0
Year two |  | 0
Year three |  | (21)
Year four |  | 0
Year five |  | 0
Prior |  | 0
Revolving Loans Amortized Cost Basis |  | 0
Total | 0 | (21)
Current period recoveries |  |
Total | 0 | 0
Net charge-offs |  |
Year one |  | 0
Year two |  | 0
Year three |  | (21)
Year four |  | 0
Year five |  | 0
Prior |  | 0
Revolving Loans Amortized Cost Basis |  | 0
Total |  | (21)
Residential mortgage | Performing | 1-4 Family 1st Lien |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 57,120 | 27,580
Year two | 28,810 | 59,762
Year three | 59,920 | 45,946
Year four | 49,052 | 34,743
Year five | 38,466 | 42,727
Prior | 179,375 | 98,891
Revolving Loans Amortized Cost Basis | 1,489 | 2,915
Loans, net of unearned income | 414,232 | 312,564
Residential mortgage | Performing | 1-4 Family Rental |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 46,766 | 28,735
Year two | 22,067 | 51,488
Year three | 45,885 | 88,594
Year four | 99,841 | 59,397
Year five | 59,781 | 35,222
Prior | 131,001 | 69,890
Revolving Loans Amortized Cost Basis | 2,154 | 2,009
Loans, net of unearned income | 407,495 | 335,335
Residential mortgage | Performing | HELOC and Junior Liens |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 8,403 | 6,096
Year two | 5,050 | 16,125
Year three | 17,397 | 9,856
Year four | 8,447 | 4,845
Year five | 4,815 | 2,182
Prior | 14,180 | 10,887
Revolving Loans Amortized Cost Basis | 115,728 | 88,122
Loans, net of unearned income | 174,020 | 138,113
Residential mortgage | Nonperforming | 1-4 Family 1st Lien |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 | 0
Year two | 0 | 0
Year three | 100 | 0
Year four | 48 | 0
Year five | 0 | 211
Prior | 3,041 | 817
Revolving Loans Amortized Cost Basis | 0 | 0
Loans, net of unearned income | 3,189 | 1,028
Residential mortgage | Nonperforming | 1-4 Family Rental |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 | 0
Year two | 0 | 147
Year three | 292 | 0
Year four | 0 | 0
Year five | 1,572 | 595
Prior | 1,606 | 559
Revolving Loans Amortized Cost Basis | 0 | 0
Loans, net of unearned income | 3,470 | 1,301
Residential mortgage | Nonperforming | HELOC and Junior Liens |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 | 0
Year two | 1,151 | 21
Year three | 93 | 0
Year four | 152 | 0
Year five | 0 | 0
Prior | 1,699 | 1,257
Revolving Loans Amortized Cost Basis | 1,001 | 1,001
Loans, net of unearned income | 4,096 | 2,279
Consumer |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 5,143 | 4,214
Year two | 1,169 | 972
Year three | 858 | 354
Year four | 276 | 394
Year five | 265 | 107
Prior | 702 | 234
Revolving Loans Amortized Cost Basis | 2,216 | 2,587
Loans, net of unearned income | 10,629 | 8,862
Gross charge-offs |  |
Year one | 0 | 0
Year two | 0 | 0
Year three | 0 | (2)
Year four | 0 | 0
Year five | 0 | 0
Prior | (98) | (50)
Revolving Loans Amortized Cost Basis | 0 | 0
Total | (98) | (52)
Current period recoveries |  |
Year one | 0 | 0
Year two | 0 | 0
Year three | 0 | 1
Year four | 0 | 0
Year five | 0 | 0
Prior | 55 | 38
Revolving Loans Amortized Cost Basis | 0 | 0
Total | 55 | 39
Net charge-offs |  |
Year one | 0 | 0
Year two | 0 | 0
Year three | 0 | (1)
Year four | 0 | 0
Year five | 0 | 0
Prior | (43) | (12)
Revolving Loans Amortized Cost Basis | 0 | 0
Total | (43) | (13)
Consumer | Performing |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 5,143 | 4,214
Year two | 1,169 | 972
Year three | 829 | 354
Year four | 276 | 394
Year five | 265 | 107
Prior | 702 | 234
Revolving Loans Amortized Cost Basis | 2,216 | 2,587
Loans, net of unearned income | 10,600 | $ 8,862
Consumer | Nonperforming |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Year one | 0 |
Year two | 0 |
Year three | 29 |
Year four | 0 |
Year five | 0 |
Prior | 0 |
Revolving Loans Amortized Cost Basis | 0 |
Loans, net of unearned income | $ 29 |

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 13 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-13 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 + 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/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 9: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-15 Reference 10: http://www.xbrl.org/2009/role/commonPracticeRef -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 Reference 11: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-15 Reference 12: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 13: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 14: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (e)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 15: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (e)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 16: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 17: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 18: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 19: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-15 Reference 20: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-15 Reference 21: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-15 Reference 22: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 29 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-29 Reference 23: 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_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mpb_CRENonownerOccupiedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mpb_FarmlandMember
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_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mpb_ResidentialConstructionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mpb_OtherConstructionMember
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_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mpb_A14Family1stLienMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mpb_HELOCAndJuniorLiensMember
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: |