XML 35 R26.htm IDEA: XBRL DOCUMENT
v3.22.2

Loans and Allowance for Loan and Lease Losses (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2022
Accounts Notes Loans And Financing Receivable Gross Allowance And Net [Abstract] |
Type of Loan Portfolio Summarized by the Aggregate Risk Rating | As of June 30, 2022 and December 31, 2021, the types of loans in Mid Penn’s portfolio, summarized using Mid Penn’s internal risk rating system between those rated “pass” (net of deferred fees and costs of $3,146,000 as of June 30, 2022 and $6,264,000 as of December 31, 2021), which comprise the vast majority of the portfolio, and those classified as “special mention” and “substandard”, are as follows:
(Dollars in thousands) |  |  |  | Special |  |  |  |  |  |
June 30, 2022 |  | Pass |  |  | Mention |  |  | Substandard |  |  | Total |
Commercial and industrial |  | $ | 536,391 |  |  | $ | 11,014 |  |  | $ | 2,476 |  |  | $ | 549,881 |
Commercial real estate |  |  | 1,781,062 |  |  |  | 16,849 |  |  |  | 28,033 |  |  |  | 1,825,944 |
Commercial real estate - construction |  |  | 374,888 |  |  |  | — |  |  |  | 1,229 |  |  |  | 376,117 |
Residential mortgage |  |  | 296,636 |  |  |  | 204 |  |  |  | 3,496 |  |  |  | 300,336 |
Home equity |  |  | 117,106 |  |  |  | 507 |  |  |  | 866 |  |  |  | 118,479 |
Consumer |  |  | 9,276 |  |  |  | — |  |  |  | — |  |  |  | 9,276 |
|  | $ | 3,115,359 |  |  | $ | 28,574 |  |  | $ | 36,100 |  |  | $ | 3,180,033 |
(Dollars in thousands) |  |  |  |  |  | Special |  |  |  |  |  |  |  |  |
December 31, 2021 |  | Pass |  |  | Mention |  |  | Substandard |  |  | Total |
Commercial and industrial |  | $ | 606,484 |  |  | $ | 10,321 |  |  | $ | 2,757 |  |  | $ | 619,562 |
Commercial real estate |  |  | 1,601,196 |  |  |  | 35,508 |  |  |  | 31,438 |  |  |  | 1,668,142 |
Commercial real estate - construction |  |  | 371,337 |  |  |  | — |  |  |  | 1,397 |  |  |  | 372,734 |
Residential mortgage |  |  | 319,862 |  |  |  | 294 |  |  |  | 3,067 |  |  |  | 323,223 |
Home equity |  |  | 106,853 |  |  |  | 534 |  |  |  | 2,919 |  |  |  | 110,306 |
Consumer |  |  | 10,429 |  |  |  | — |  |  |  | — |  |  |  | 10,429 |
|  | $ | 3,016,161 |  |  | $ | 46,657 |  |  | $ | 41,578 |  |  | $ | 3,104,396 |
Impaired Loans by Loan Portfolio Class | Impaired loans by loan portfolio class as of June 30, 2022 and December 31, 2021 are summarized as follows:
|  | June 30, 2022 |  |  | December 31, 2021 |
(Dollars in thousands) |  | Recorded Investment |  |  | Unpaid Principal Balance |  |  | Related Allowance |  |  | Recorded Investment |  |  | Unpaid Principal Balance |  |  | Related Allowance |
With no related allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 31 |  |  | $ | — |
Commercial real estate |  |  | 637 |  |  |  | 1,038 |  |  |  | — |  |  |  | 854 |  |  |  | 1,243 |  |  |  | — |
Commercial real estate - construction |  |  | — |  |  |  | 5 |  |  |  | — |  |  |  | 22 |  |  |  | 27 |  |  |  | — |
Residential mortgage |  |  | 1,314 |  |  |  | 1,355 |  |  |  | — |  |  |  | 1,259 |  |  |  | 1,295 |  |  |  | — |
Home equity |  |  | 99 |  |  |  | 99 |  |  |  | — |  |  |  | 2,377 |  |  |  | 2,377 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
With no related allowance recorded and acquired with credit deterioration: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |
Commercial real estate |  |  | 2,109 |  |  |  | 2,123 |  |  |  | — |  |  |  | 2,231 |  |  |  | 2,909 |  |  |  | — |
Commercial real estate - construction |  |  | 1,221 |  |  |  | 1,467 |  |  |  | — |  |  |  | 1,196 |  |  |  | 1,469 |  |  |  | — |
Residential mortgage |  |  | 1,285 |  |  |  | 1,771 |  |  |  | — |  |  |  | 1,362 |  |  |  | 1,847 |  |  |  | — |
Home equity |  |  | 85 |  |  |  | 105 |  |  |  | — |  |  |  | 86 |  |  |  | 111 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 507 |  |  | $ | 538 |  |  | $ | 118 |  |  | $ | 308 |  |  | $ | 339 |  |  | $ | 67 |
Commercial real estate |  |  | 1,469 |  |  |  | 688 |  |  |  | 892 |  |  |  | 287 |  |  |  | 359 |  |  |  | 121 |
Commercial real estate - construction |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Residential mortgage |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Home equity |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Total Impaired Loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 507 |  |  | $ | 538 |  |  | $ | 118 |  |  | $ | 308 |  |  | $ | 370 |  |  | $ | 67 |
Commercial real estate |  |  | 4,215 |  |  |  | 3,849 |  |  |  | 892 |  |  |  | 3,372 |  |  |  | 4,511 |  |  |  | 121 |
Commercial real estate - construction |  |  | 1,221 |  |  |  | 1,472 |  |  |  | — |  |  |  | 1,218 |  |  |  | 1,496 |  |  |  | — |
Residential mortgage |  |  | 2,599 |  |  |  | 3,126 |  |  |  | — |  |  |  | 2,621 |  |  |  | 3,142 |  |  |  | — |
Home equity |  |  | 184 |  |  |  | 204 |  |  |  | — |  |  |  | 2,463 |  |  |  | 2,488 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Average Recorded Investment Of Impaired Loans And Related Interest Income By Loan Portfolio Class | The average recorded investment of impaired loans and related interest income recognized for the three and six months ended June 30, 2022 and 2021 are summarized as follows:
|  | Three Months Ended |
|  | June 30, 2022 |  |  | June 30, 2021 |
(Dollars in thousands) |  | Average Recorded Investment |  |  | Interest Income Recognized |  |  | Average Recorded Investment |  |  | Interest Income Recognized |
With no related allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | — |  |  | $ | — |  |  | $ | 72 |  |  | $ | — |
Commercial real estate |  |  | 604 |  |  |  | — |  |  |  | 778 |  |  |  | 1 |
Commercial real estate - construction |  |  | 211 |  |  |  | — |  |  |  | 26 |  |  |  | — |
Residential mortgage |  |  | 1,392 |  |  |  | 6 |  |  |  | 759 |  |  |  | 6 |
Home equity |  |  | 99 |  |  |  | 100 |  |  |  | 2,336 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
With no related allowance recorded and acquired with credit deterioration: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |
Commercial real estate |  |  | 2,147 |  |  |  | — |  |  |  | 1,398 |  |  |  | — |
Commercial real estate - construction |  |  | 1,205 |  |  |  | — |  |  |  | — |  |  |  | — |
Residential mortgage |  |  | 1,335 |  |  |  | — |  |  |  | 300 |  |  |  | — |
Home equity |  |  | 85 |  |  |  | — |  |  |  | — |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 503 |  |  | $ | — |  |  | $ | 221 |  |  | $ | — |
Commercial real estate |  |  | 735 |  |  |  | — |  |  |  | 1,793 |  |  |  | — |
Commercial real estate - construction |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Residential mortgage |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Home equity |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Total Impaired Loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 503 |  |  | $ | — |  |  | $ | 293 |  |  | $ | — |
Commercial real estate |  |  | 3,486 |  |  |  | — |  |  |  | 3,969 |  |  |  | 1 |
Commercial real estate - construction |  |  | 1,416 |  |  |  | — |  |  |  | 26 |  |  |  | — |
Residential mortgage |  |  | 2,727 |  |  |  | 6 |  |  |  | 1,059 |  |  |  | 6 |
Home equity |  |  | 184 |  |  |  | 100 |  |  |  | 2,336 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
|  | Six Months Ended |
|  | June 30, 2022 |  |  | June 30, 2021 |
(Dollars in thousands) |  | Average Recorded Investment |  |  | Interest Income Recognized |  |  | Average Recorded Investment |  |  | Interest Income Recognized |
With no related allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | — |  |  | $ | — |  |  | $ | 502 |  |  | $ | — |
Commercial real estate |  |  | 719 |  |  |  | — |  |  |  | 3,257 |  |  |  | 1 |
Commercial real estate - construction |  |  | 148 |  |  |  | — |  |  |  | 28 |  |  |  | — |
Residential mortgage |  |  | 1,379 |  |  |  | 12 |  |  |  | 778 |  |  |  | 14 |
Home equity |  |  | 858 |  |  |  | 184 |  |  |  | 2,346 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
With no related allowance recorded and acquired with credit deterioration: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |
Commercial real estate |  |  | 1,948 |  |  |  | — |  |  |  | 1,406 |  |  |  | — |
Commercial real estate - construction |  |  | 1,214 |  |  |  | — |  |  |  | — |  |  |  | — |
Residential mortgage |  |  | 1,294 |  |  |  | — |  |  |  | 309 |  |  |  | — |
Home equity |  |  | 84 |  |  |  | — |  |  |  | — |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 513 |  |  | $ | — |  |  | $ | 177 |  |  | $ | — |
Commercial real estate |  |  | 596 |  |  |  | — |  |  |  | 1,491 |  |  |  | — |
Commercial real estate - construction |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Residential mortgage |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Home equity |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Total Impaired Loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 513 |  |  | $ | — |  |  | $ | 679 |  |  | $ | — |
Commercial real estate |  |  | 3,263 |  |  |  | — |  |  |  | 6,154 |  |  |  | 1 |
Commercial real estate - construction |  |  | 1,362 |  |  |  | — |  |  |  | 28 |  |  |  | — |
Residential mortgage |  |  | 2,673 |  |  |  | 12 |  |  |  | 1,087 |  |  |  | 14 |
Home equity |  |  | 942 |  |  |  | 184 |  |  |  | 2,346 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Non-accrual Loans by Classes of the Loan Portfolio Including Loans Acquired With Credit Deterioration | Nonaccrual loans by loan portfolio class, including loans acquired with credit deterioration, as of June 30, 2022 and December 31, 2021 are summarized as follows:
(Dollars in thousands) |  | June 30, 2022 |  |  | December 31, 2021 |
Commercial and industrial |  | $ | 1,357 |  |  | $ | 308 |
Commercial real estate |  |  | 2,297 |  |  |  | 3,372 |
Commercial real estate - construction |  |  | 1,229 |  |  |  | 1,218 |
Residential mortgage |  |  | 2,164 |  |  |  | 2,186 |
Home equity |  |  | 504 |  |  |  | 2,463 |
|  | $ | 7,551 |  |  | $ | 9,547 |
Loan Portfolio Summarized by the Past Due Status | The classes of the loan portfolio summarized by the past due status as of June 30, 2022 and December 31, 2021 are summarized as follows:
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | Loans |
(Dollars in thousands) |  | 30-59 |  |  | 60-89 |  |  | Greater |  |  |  |  |  |  |  |  |  |  |  |  |  |  | Receivable > |
|  | Days Past |  |  | Days Past |  |  | than 90 |  |  | Total Past |  |  |  |  |  |  |  |  |  |  | 90 Days and |
June 30, 2022 |  | Due |  |  | Due |  |  | Days |  |  | Due |  |  | Current |  |  | Total Loans |  |  | Accruing |
Commercial and industrial |  | $ | 3,265 |  |  | $ | 694 |  |  | $ | 507 |  |  | $ | 4,466 |  |  | $ | 545,415 |  |  | $ | 549,881 |  |  | $ | — |
Commercial real estate |  |  | 75 |  |  |  | — |  |  |  | 512 |  |  |  | 587 |  |  |  | 1,823,248 |  |  |  | 1,823,835 |  |  |  | — |
Commercial real estate - construction |  |  | 226 |  |  |  | — |  |  |  | — |  |  |  | 226 |  |  |  | 374,670 |  |  |  | 374,896 |  |  |  | — |
Residential mortgage |  |  | 484 |  |  |  | 99 |  |  |  | 917 |  |  |  | 1,500 |  |  |  | 297,551 |  |  |  | 299,051 |  |  |  | — |
Home equity |  |  | 76 |  |  |  | 167 |  |  |  | 351 |  |  |  | 594 |  |  |  | 117,800 |  |  |  | 118,394 |  |  |  | — |
Consumer |  |  | 2 |  |  |  | — |  |  |  | — |  |  |  | 2 |  |  |  | 9,274 |  |  |  | 9,276 |  |  |  | — |
Loans acquired with credit deterioration: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Commercial real estate |  |  | — |  |  |  | 16 |  |  |  | 851 |  |  |  | 867 |  |  |  | 1,242 |  |  |  | 2,109 |  |  |  | — |
Commercial real estate - construction |  |  | 1,221 |  |  |  | — |  |  |  | — |  |  |  | 1,221 |  |  |  | — |  |  |  | 1,221 |  |  |  | — |
Residential mortgage |  |  | 106 |  |  |  | 52 |  |  |  | 327 |  |  |  | 485 |  |  |  | 800 |  |  |  | 1,285 |  |  |  | — |
Home equity |  |  | — |  |  |  | — |  |  |  | 57 |  |  |  | 57 |  |  |  | 28 |  |  |  | 85 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Total |  | $ | 5,455 |  |  | $ | 1,028 |  |  | $ | 3,522 |  |  | $ | 10,005 |  |  | $ | 3,170,028 |  |  | $ | 3,180,033 |  |  | $ | — |
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | Loans |
(Dollars in thousands) |  | 30-59 |  |  | 60-89 |  |  | Greater |  |  |  |  |  |  |  |  |  |  |  |  |  |  | Receivable > |
|  | Days Past |  |  | Days Past |  |  | than 90 |  |  | Total Past |  |  |  |  |  |  |  |  |  |  | 90 Days and |
December 31, 2021 |  | Due |  |  | Due |  |  | Days |  |  | Due |  |  | Current |  |  | Total Loans |  |  | Accruing |
Commercial and industrial |  | $ | 1,378 |  |  | $ | 62 |  |  | $ | 404 |  |  | $ | 1,844 |  |  | $ | 617,718 |  |  | $ | 619,562 |  |  | $ | 96 |
Commercial real estate |  |  | 32 |  |  |  | 55 |  |  |  | 769 |  |  |  | 856 |  |  |  | 1,665,055 |  |  |  | 1,665,911 |  |  |  | — |
Commercial real estate - construction |  |  | — |  |  |  | — |  |  |  | 205 |  |  |  | 205 |  |  |  | 371,333 |  |  |  | 371,538 |  |  |  | 205 |
Residential mortgage |  |  | 1,246 |  |  |  | 205 |  |  |  | 1,002 |  |  |  | 2,453 |  |  |  | 319,408 |  |  |  | 321,861 |  |  |  | 212 |
Home equity |  |  | 403 |  |  |  | — |  |  |  | 2,377 |  |  |  | 2,780 |  |  |  | 107,440 |  |  |  | 110,220 |  |  |  | — |
Consumer |  |  | 6 |  |  |  | 2 |  |  |  | 2 |  |  |  | 10 |  |  |  | 10,419 |  |  |  | 10,429 |  |  |  | 2 |
Loans acquired with credit deterioration: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Commercial real estate |  |  | — |  |  |  | 3 |  |  |  | 1,628 |  |  |  | 1,631 |  |  |  | 600 |  |  |  | 2,231 |  |  |  | — |
Commercial real estate - construction |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 1,196 |  |  |  | 1,196 |  |  |  | — |
Residential mortgage |  |  | 54 |  |  |  | — |  |  |  | 818 |  |  |  | 872 |  |  |  | 490 |  |  |  | 1,362 |  |  |  | — |
Home equity |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 86 |  |  |  | 86 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Total |  | $ | 3,119 |  |  | $ | 327 |  |  | $ | 7,205 |  |  | $ | 10,651 |  |  | $ | 3,093,745 |  |  | $ | 3,104,396 |  |  | $ | 515 |
Allowance and Recorded Investment in Financing Receivables | The following tables summarize the allowance and recorded investments in loans receivable.
(Dollars in thousands) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
As of, and for the three months ended, June 30, 2022 |  | Commercial and industrial |  |  | Commercial real estate |  |  | Commercial real estate - construction |  |  | Residential mortgage |  |  | Home equity |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan and lease losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Beginning balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
April 1, 2022 |  | $ | 3,811 |  |  | $ | 9,991 |  |  | $ | 41 |  |  | $ | 483 |  |  | $ | 562 |  |  | $ | 2 |  |  | $ | 257 |  |  | $ | 15,147 |
Charge-offs |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | (9 | ) |  |  | — |  |  |  | (9 | )
Recoveries |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 2 |  |  |  | 1 |  |  |  | 10 |  |  |  | — |  |  |  | 13 |
Provisions (credits) |  |  | (140 | ) |  |  | 2,000 |  |  |  | 5 |  |  |  | 17 |  |  |  | 78 |  |  |  | (1 | ) |  |  | (234 | ) |  |  | 1,725 |
Ending balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
June 30, 2022 |  | $ | 3,671 |  |  | $ | 11,991 |  |  | $ | 46 |  |  | $ | 502 |  |  | $ | 641 |  |  | $ | 2 |  |  | $ | 23 |  |  | $ | 16,876 |
(Dollars in thousands) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
As of, and for the six months ended, June 30, 2022 |  | Commercial and industrial |  |  | Commercial real estate |  |  | Commercial real estate - construction |  |  | Residential mortgage |  |  | Home equity |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan and lease losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Beginning balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
January 1, 2022 |  | $ | 3,439 |  |  | $ | 9,415 |  |  | $ | 38 |  |  | $ | 459 |  |  | $ | 560 |  |  | $ | 2 |  |  | $ | 684 |  |  | $ | 14,597 |
Charge-offs |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | (66 | ) |  |  | — |  |  |  | (66 | )
Recoveries |  |  | 13 |  |  |  | 65 |  |  |  | 24 |  |  |  | 2 |  |  |  | 2 |  |  |  | 14 |  |  |  | — |  |  |  | 120 |
Provisions |  |  | 219 |  |  |  | 2,511 |  |  |  | (16 | ) |  |  | 41 |  |  |  | 79 |  |  |  | 52 |  |  |  | (661 | ) |  |  | 2,225 |
Ending balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
June 30, 2022 |  |  | 3,671 |  |  |  | 11,991 |  |  |  | 46 |  |  |  | 502 |  |  |  | 641 |  |  |  | 2 |  |  |  | 23 |  |  |  | 16,876 |
Individually evaluated for impairment |  |  | 118 |  |  |  | 892 |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 1,010 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Collectively evaluated for impairment |  | $ | 3,553 |  |  | $ | 11,099 |  |  | $ | 46 |  |  | $ | 502 |  |  | $ | 641 |  |  | $ | 2 |  |  | $ | 23 |  |  | $ | 15,866 |
Loans receivables: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ending balance |  | $ | 549,881 |  |  | $ | 1,825,944 |  |  | $ | 376,117 |  |  | $ | 300,336 |  |  | $ | 118,479 |  |  | $ | 9,276 |  |  | $ | — |  |  | $ | 3,180,033 |
Ending balance: individually evaluated for impairment |  |  | 507 |  |  |  | 2,106 |  |  |  | — |  |  |  | 1,314 |  |  |  | 99 |  |  |  | — |  |  |  | — |  |  |  | 4,026 |
Ending balance: acquired with credit deterioration |  |  | — |  |  |  | 2,109 |  |  |  | 1,221 |  |  |  | 1,285 |  |  |  | 85 |  |  |  | — |  |  |  | — |  |  |  | 4,700 |
Ending balance: collectively evaluated for impairment |  | $ | 549,374 |  |  | $ | 1,821,729 |  |  | $ | 374,896 |  |  | $ | 297,737 |  |  | $ | 118,295 |  |  | $ | 9,276 |  |  | $ | — |  |  | $ | 3,171,307 |
(Dollars in thousands) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
December 31, 2021 |  | Commercial and industrial |  |  | Commercial real estate |  |  | Commercial real estate - construction |  |  | Residential mortgage |  |  | Home equity |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan and lease losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ending balance |  | $ | 3,439 |  |  | $ | 9,415 |  |  | $ | 38 |  |  | $ | 459 |  |  | $ | 560 |  |  | $ | 2 |  |  | $ | 684 |  |  | $ | 14,597 |
Ending balance: individually evaluated for impairment |  |  | 67 |  |  |  | 121 |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 188 |
Ending balance: collectively evaluated for impairment |  | $ | 3,372 |  |  | $ | 9,294 |  |  | $ | 38 |  |  | $ | 459 |  |  | $ | 560 |  |  | $ | 2 |  |  | $ | 684 |  |  | $ | 14,409 |
Loans receivable: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ending balance |  | $ | 619,562 |  |  | $ | 1,668,142 |  |  | $ | 372,734 |  |  | $ | 323,223 |  |  | $ | 110,306 |  |  | $ | 10,429 |  |  | $ | — |  |  | $ | 3,104,396 |
Ending balance: individually evaluated for impairment |  |  | 308 |  |  |  | 1,141 |  |  |  | 22 |  |  |  | 1,259 |  |  |  | 2,377 |  |  |  | — |  |  |  | — |  |  |  | 5,107 |
Ending balance: acquired with credit deterioration |  |  | — |  |  |  | 2,231 |  |  |  | 1,196 |  |  |  | 1,362 |  |  |  | 86 |  |  |  | — |  |  |  | — |  |  |  | 4,875 |
Ending balance: collectively evaluated for impairment |  | $ | 619,254 |  |  | $ | 1,664,770 |  |  | $ | 371,516 |  |  | $ | 320,602 |  |  | $ | 107,843 |  |  | $ | 10,429 |  |  | $ | — |  |  | $ | 3,094,414 |
(Dollars in thousands) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
As of, and for the three months ended, June 30, 2021 |  | Commercial and industrial |  |  | Commercial real estate |  |  | Commercial real estate - construction |  |  | Residential mortgage |  |  | Home equity |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan and lease losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Beginning balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
April 1, 2021 |  | $ | 2,988 |  |  | $ | 8,944 |  |  | $ | 122 |  |  | $ | 438 |  |  | $ | 528 |  |  | $ | 1 |  |  | $ | 570 |  |  | $ | 13,591 |
Charge-offs |  |  | — |  |  |  | — |  |  |  | (23 | ) |  |  | (7 | ) |  |  | — |  |  |  | (9 | ) |  |  | — |  |  |  | (39 | )
Recoveries |  |  | 1 |  |  |  | 10 |  |  |  | — |  |  |  | 1 |  |  |  | — |  |  |  | 2 |  |  |  | — |  |  |  | 14 |
Provisions (credits) |  |  | 176 |  |  |  | 1,023 |  |  |  | 31 |  |  |  | 67 |  |  |  | 60 |  |  |  | 8 |  |  |  | (215 | ) |  |  | 1,150 |
Ending balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
June 30, 2021 |  | $ | 3,165 |  |  | $ | 9,977 |  |  | $ | 130 |  |  | $ | 499 |  |  | $ | 588 |  |  | $ | 2 |  |  | $ | 355 |  |  | $ | 14,716 |
(Dollars in thousands) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
As of, and for the six months ended, June 30, 2021 |  | Commercial and industrial |  |  | Commercial real estate |  |  | Commercial real estate - construction |  |  | Residential mortgage |  |  | Home equity |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan and lease losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Beginning balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
January 1, 2021 |  |  | 3,066 |  |  |  | 8,655 |  |  |  | 134 |  |  |  | 429 |  |  |  | 507 |  |  |  | 1 |  |  |  | 590 |  |  | $ | 13,382 |
Charge-offs |  |  | (859 | ) |  |  | — |  |  |  | (23 | ) |  |  | (11 | ) |  |  | — |  |  |  | (12 | ) |  |  | — |  |  |  | (905 | )
Recoveries |  |  | 1 |  |  |  | 66 |  |  |  | — |  |  |  | 11 |  |  |  | — |  |  |  | 11 |  |  |  | — |  |  |  | 89 |
Provisions (credits) |  |  | 957 |  |  |  | 1,256 |  |  |  | 19 |  |  |  | 70 |  |  |  | 81 |  |  |  | 2 |  |  |  | (235 | ) |  |  | 2,150 |
Ending balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
June 30, 2021 |  |  | 3,165 |  |  |  | 9,977 |  |  |  | 130 |  |  |  | 499 |  |  |  | 588 |  |  |  | 2 |  |  |  | 355 |  |  |  | 14,716 |
Individually evaluated for impairment |  |  | 62 |  |  |  | 1,332 |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 1,394 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
collectively evaluated for impairment |  | $ | 3,103 |  |  | $ | 8,645 |  |  | $ | 130 |  |  | $ | 499 |  |  | $ | 588 |  |  | $ | 2 |  |  | $ | 355 |  |  | $ | 13,322 |
Loans receivables: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ending balance |  | $ | 783,106 |  |  | $ | 1,147,089 |  |  | $ | 282,776 |  |  | $ | 196,691 |  |  | $ | 77,272 |  |  | $ | 8,258 |  |  | $ | — |  |  | $ | 2,495,192 |
Ending balance: individually evaluated for impairment |  |  | 218 |  |  |  | 3,673 |  |  |  | 23 |  |  |  | 759 |  |  |  | 2,339 |  |  |  | — |  |  |  | — |  |  |  | 7,012 |
Ending balance: acquired with credit deterioration |  |  | — |  |  |  | 1,381 |  |  |  | — |  |  |  | 289 |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 1,670 |
Ending balance: collectively evaluated for impairment |  | $ | 782,888 |  |  | $ | 1,142,035 |  |  | $ | 282,753 |  |  | $ | 195,643 |  |  | $ | 74,933 |  |  | $ | 8,258 |  |  | $ | — |  |  | $ | 2,486,510 |
Troubled Debt Restructurings | The recorded investments in troubled debt restructured loans at June 30, 2022 and December 31, 2021 are as follows:
(Dollars in thousands) | Pre-Modification |  |  | Post-Modification |  |  |  |
June 30, 2022 | Outstanding Recorded Investment |  |  | Outstanding Recorded Investment |  |  | Recorded Investment |
Commercial real estate | $ | 1,213 |  |  | $ | 1,115 |  |  | $ | 292 |
Residential mortgage |  | 647 |  |  |  | 645 |  |  |  | 450 |
| $ | 1,860 |  |  | $ | 1,760 |  |  | $ | 742 |
(Dollars in thousands) | Pre-Modification |  |  | Post-Modification |  |  |  |
December 31, 2021 | Outstanding Recorded Investment |  |  | Outstanding Recorded Investment |  |  | Recorded Investment |
Commercial and industrial | $ | 8 |  |  | $ | 8 |  |  | $ | 5 |
Commercial real estate |  | 1,214 |  |  |  | 1,115 |  |  |  | 320 |
Commercial real estate - construction |  | 40 |  |  |  | 40 |  |  |  | 22 |
Residential mortgage |  | 647 |  |  |  | 645 |  |  |  | 472 |
| $ | 1,909 |  |  | $ | 1,808 |  |  | $ | 819 |
Schedule of Accretion of Purchased Impaired Loan | The following tables provide activity for the accretable yield of acquired impaired loans from the Phoenix (March 2015), Scottdale (January 2018), First Priority (July 2018), and Riverview (November 2021) acquisitions for the three and six months ended June 30, 2022 and 2021.
(Dollars in thousands) |  |  |  |
|  | Three Months Ended June 30, |
|  | 2022 |  |  | 2021 |
Accretable yield, beginning of period |  | $ | 499 |  |  | $ | 40 |
Accretable yield amortized to interest income |  |  | (28 | ) |  |  | — |
Accretable yield, end of period |  | $ | 471 |  |  | $ | 40 |
(Dollars in thousands) |  | Six Months Ended June 30, |
|  | 2022 |  |  | 2021 |
Accretable yield, beginning of period |  | $ | 580 |  |  | $ | 40 |
Accretable yield amortized to interest income |  |  | (109 | ) |  |  | - |
Accretable yield, end of period |  | $ | 471 |  |  | $ | 40 |

X
- Definition Accretable yield schedule related to purchased impaired loans. + References No definition available. + Details
Name: | mpb_AccretableYieldScheduleRelatedToPurchasedImpairedLoansTableTextBlock
Namespace Prefix: | mpb_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Average impaired financing receivables. + References No definition available. + Details
Name: | mpb_AverageImpairedFinancingReceivablesTableTextBlock
Namespace Prefix: | mpb_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of allowance for credit loss on financing receivable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -URI https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivables by credit quality indicator. The credit quality indicator is a statistic about the credit quality of financing receivables. Examples include, but not limited to, consumer credit risk scores, credit-rating-agency ratings, an entity's internal credit risk grades, loan-to-value ratios, collateral, collection experience and other internal metrics. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 29 -URI https://asc.fasb.org/extlink&oid=123577603&loc=SL6953659-111524 + Details
Name: | us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of impaired financing receivables. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -URI https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524 + Details
Name: | us-gaap_ImpairedFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of aging analysis for financing receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 14 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7A -URI https://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 80 -URI https://asc.fasb.org/extlink&oid=124267575&loc=SL82922355-210448 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524 + Details
Name: | us-gaap_PastDueFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivable on nonaccrual status. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 16 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447 + Details
Name: | us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivable modified as troubled debt restructuring. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI https://asc.fasb.org/extlink&oid=123577603&loc=SL6953676-111524 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 34 -URI https://asc.fasb.org/extlink&oid=123577603&loc=SL6953682-111524 + Details
Name: | us-gaap_TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration