XML 22 R11.htm IDEA: XBRL DOCUMENT
v3.21.2

Summary of Significant Accounting Policies | 6 Months Ended
--- | ---
Jun. 30, 2021
Accounting Policies [Abstract] |
Summary of Significant Accounting Policies | (2)Summary of Significant Accounting Policies The accounting and reporting policies of Mid Penn conform with accounting principles as required under GAAP and general practices within the financial industry. The following is a description of the more significant accounting policies. Investment Securities Securities to be held for indefinite periods, but not intended to be held to maturity, are classified as available for sale and carried at fair value. Securities held for indefinite periods include securities that management intends to use as part of its asset and liability management strategy and pledging requirements, and that may be sold in response to liquidity needs, changes in interest rates, resultant prepayment risk, reductions in pledging levels, and other factors related to effective portfolio management. Securities to be held to maturity are carried at amortized cost. For available-for-sale debt securities, realized gains and losses on dispositions are based on the difference between net proceeds and the amortized cost of the securities sold, using the specific identification method. Unrealized gains and losses on debt securities are based on the difference between the amortized cost and fair value of each security as of the respective reporting date. Unrealized gains and losses are credited or charged to other comprehensive income on an after-tax basis, whereas realized gains and losses flow through Mid Penn’s consolidated statement of income for the respective period. ASC Topic 320, Investments – Debt and Equity Securities, clarifies the interaction of the factors that should be considered when determining whether a debt security is other-than-temporarily impaired. For debt securities, management must assess, in addition to the credit condition of the underlying issuer, whether (a) it has the intent to sell the security and (b) it is more likely than not that it will be required to sell the security prior to its anticipated recovery. These steps are done before assessing whether the Corporation will recover the cost basis of the investment. In instances when a determination is made that an other-than-temporary impairment of a debt security exists but the Corporation does not intend to sell the debt security and it is not more likely than not that it will be required to sell the debt security prior to its anticipated recovery, this guidance changes the presentation and amount of the other-than-temporary impairment recognized in the income statement. The other-than-temporary impairment is separated into (a) the amount of the total other-than-temporary impairment related to a decrease in cash flows expected to be collected from the debt security (the credit loss), and (b) the amount of the total other-than-temporary impairment related to all other factors. The amount of the total other-than-temporary impairment related to the credit loss is recognized in earnings. The amount of the total other-than-temporary impairment related to all other factors is recognized in other comprehensive income. Equity Securities In accordance with ASC Topic 825, Financial Instruments, Mid Penn reports its equity securities with readily determinable fair values at fair value on the Consolidated Balance Sheets, with realized and unrealized gains and losses reported in other expense on the Consolidated Statements of Income. Mid Penn’s equity securities consisted of Community Reinvestment Act (“CRA”) funds with a fair value totaling $508,000 and $515,000 as of June 30, 2021 and December 31, 2020, respectively. No equity securities were sold during the three or six months ended June 30, 2021 or June 30, 2020. Loans Loans receivable that management has the intent and ability to hold for the foreseeable future or until maturity or payoff are stated at their outstanding unpaid principal balances, net of an allowance for loan losses and any deferred fees or costs. Interest income is accrued on the unpaid principal balance. Loan origination fees, net of certain direct origination costs, are deferred and recognized as an adjustment of the yield (interest income) of the related loans, generally being amortized over the contractual life of the loan. Premiums and discounts on purchased loans are amortized as adjustments to interest income using the effective yield method. The loan portfolio is segmented into commercial and consumer loans. Commercial loans consist of the following classes: commercial and industrial, commercial real estate, commercial real estate-construction and lease financing. Consumer loans consist of the following classes: residential mortgage loans, home equity loans and other consumer loans. For all classes of loans, the accrual of interest generally is discontinued when the contractual payment of principal or interest has become 90 days or more past due, or management has serious doubts about further collectability of principal or interest even though the loan is currently performing. A loan past due 90 days or more may remain on accrual status if it is in the process of collection and is either guaranteed or well secured. When a loan is placed on nonaccrual status, unpaid interest is credited to income. Interest received on nonaccrual loans, including impaired loans, is either applied against principal or reported as interest income, according to management’s judgment as to the collectability of principal. Nonaccrual loans may be restored to accrual status when the obligation is brought current, has performed in accordance with the contractual terms for a reasonable period of time (generally, at least nine consecutive months) and the ultimate collectability of the total contractual principal and interest is no longer in doubt. The past due status of all classes of loans receivable is determined based on contractual due dates for loan payments. Commercial and Industrial Loans Mid Penn originates commercial and industrial loans. Most of the Bank’s commercial and industrial loans have been extended to finance local and regional businesses and include short-term loans to finance machinery and equipment purchases, inventory, and accounts receivable. Commercial loans also involve the extension of revolving credit for a combination of equipment acquisitions and working capital in expanding companies. The maximum term for loans extended on machinery and equipment is based on the projected useful life of such machinery and equipment. Generally, the maximum term on non-mortgage lines of credit is one year. The loan-to-value ratio on such loans and lines of credit generally may not exceed 80 percent of the value of the collateral securing the loan. The Bank’s commercial business lending policy includes credit file documentation and analysis of the borrower’s character, capacity to repay the loan, the adequacy of the borrower’s capital and collateral, as well as an evaluation of conditions affecting the borrower. Analysis of the borrower’s past, present, and future cash flows is also an important aspect of the Bank’s current credit analysis. Nonetheless, such loans are believed to carry higher credit risk than other extensions of credit. Commercial and industrial loans typically are made on the basis of the borrower’s ability to make repayment from the cash flow of the borrower’s business. As a result, the availability of funds for the repayment of commercial business loans may be substantially dependent on the success of the business itself, which, in turn, is likely to be dependent upon the general economic environment. Mid Penn’s commercial and industrial loans are usually, but not always, secured by business assets and personal guarantees. However, the collateral securing the loans may depreciate over time, may be difficult to appraise, and may fluctuate in value based on the success of the business. Commercial Real Estate and Commercial Real Estate – Construction Loans Commercial real estate and commercial real estate construction loans generally present a higher level of risk than loans secured by one-to-four family residences. This greater risk is due to several factors, including the concentration of principal in a limited number of loans and borrowers, the effect of general economic conditions on income producing properties, and the increased difficulty of evaluating and monitoring these types of loans. In addition, the repayment of loans secured by commercial real estate is typically dependent upon the successful operation of the related real estate project. If the cash flow from the project is reduced, the borrower’s ability to repay the loan may be impaired. Residential Mortgage Loans Mid Penn offers a wide array of residential mortgage loans for both permanent structures and those under construction. The Bank’s residential mortgage originations are secured primarily by properties located in its primary market and surrounding areas. Residential mortgage loans have terms up to a maximum of 30 years and with loan-to-value ratios up to 100 percent of the lesser of the appraised value of the security property or the contract price. Private mortgage insurance is generally required in an amount sufficient to reduce the Bank’s exposure to at or below the 85 percent loan to value level. Residential mortgage loans generally do not include prepayment penalties. In underwriting residential mortgage loans, the Bank evaluates both the borrower’s ability to make monthly payments and the value of the property securing the loan. Most properties securing real estate loans made by Mid Penn are appraised by independent fee appraisers. The Bank generally requires borrowers to obtain title insurance and fire and property insurance (including flood insurance, if necessary) in an amount not less than the amount of the loan. Real estate loans originated by the Bank generally contain a “due on sale” clause allowing the Bank to declare the unpaid principal balance due and payable upon the sale of the security property. The Bank underwrites residential mortgage loans to the standards established by the secondary mortgage market, i.e., Fannie Mae, Ginnie Mae, Freddie Mac, Federal Home Loan Bank, or Pennsylvania Housing Finance Agency standards, with the intention of selling the majority of residential mortgages originated into the secondary market. In the event that the facts and circumstances surrounding a residential mortgage application do not meet the required underwriting conditions of the secondary mortgage market, the Bank will evaluate the failed conditions and evaluate the potential risk of holding the residential mortgage in the Bank’s portfolio rather than rejecting the loan request. In the event that the loan is funded and held in the Bank’s portfolio, the interest rate on the residential mortgage would be increased to compensate for the added portfolio risk. Consumer Loans, Including Home Equity Credits Mid Penn offers a variety of secured consumer loans, including home equity, automobile, and deposit secured loans. In addition, the Bank offers other secured and unsecured consumer loans. Most consumer loans are originated in Mid Penn’s primary market and surrounding areas. The largest component of Mid Penn’s consumer loan portfolio consists of fixed rate home equity loans and variable rate home equity lines of credit. Substantially all home equity loans and lines of credit are secured by junior lien mortgages on principal residences. The Bank will lend amounts, which, together with all prior liens, typically may be up to 85 percent of the appraised value of the property securing the loan. Home equity term loans may have maximum terms up to 20 years, while home equity lines of credit generally have maximum terms of five years. Consumer loan terms vary according to the type and value of collateral, length of contract and creditworthiness of the borrower. The underwriting standards employed by the Bank for consumer loans include an application, a determination of the applicant’s payment history on other debts, and an assessment of ability to meet existing obligations and payments on the proposed loan. Although creditworthiness of the applicant is a primary consideration, the underwriting process also includes a comparison of the value of the collateral, if any, in relation to the proposed loan amount. Consumer loans may entail greater credit risk than do residential mortgage loans, particularly in the case of consumer loans which are unsecured or are secured by rapidly depreciable assets, such as automobiles or recreational equipment. In such cases, any repossessed collateral for a defaulted consumer loan may not provide an adequate source of repayment of the outstanding loan balance. In addition, consumer loan collections are dependent on the borrower’s continuing financial stability, and thus are more likely to be affected by adverse personal circumstances. Furthermore, the application of various federal and state laws, including bankruptcy and insolvency laws, may limit the amount that can be recovered on such loans. Junior liens inherently have more credit risk by virtue of the fact that another financial institution may have a higher security position in the case of foreclosure liquidation of collateral to extinguish the debt. Generally, foreclosure actions could become more prevalent if the real estate market weakens and property values deteriorate. Payroll Protection Program (“PPP”) Loans Included in total loans as of June 30, 2021, within the commercial and industrial loan portfolio classification, are $391,826,000 of Paycheck Protection Program (“PPP”) loans, net of deferred fees, with this total being comprised of (i) $317,428,000 of PPP 2021 loans, net of deferred fees, originated during the first six months of 2021; and (ii) $74,398,000 of PPP 2020 loans, net of deferred fees, originated during 2020 which, as of June 30, 2021, were still outstanding as the Small Business Administration (“SBA”) had not yet completed the loan forgiveness and repayment processing. Comparatively, as of December 31, 2020, Mid Penn had $388,313,000 of PPP 2020 loans outstanding, net of deferred fees. Mid Penn has been a significant participating lender under the PPP, which was originally created when the Coronavirus Aid, Relief, and Economic Security (“CARES”) Act was signed into law on March 27, 2020, and extended by the signing of the Consolidated Appropriations Act, 2021 into law on December 27, 2020, and further extended to May 31, 2021 by the PPP Extension Act of 2021. The PPP loans, which are 100 percent guaranteed by the SBA, have up to a five-year term to maturity and carry a low interest rate of 1 percent throughout the loan term. The SBA also provided a processing fee per loan to financial institutions who participated in the PPP, with the amount of such fee generally ranging from 1 percent to 5 percent as pre-determined by the SBA dependent upon the size of each respective credit. As of June 30, 2021, Mid Penn had received $38,880,000 of nonrefundable loan processing fees related to the loans disbursed as a result of Mid Penn’s participation in the PPP initiative, consisting of (i) $20,883,000 of loan processing fees received related to PPP loans funded during the year ended December 31, 2020, and (ii) $17,997,000 of loan processing fees received related to PPP loans funded during the six months ended June 30, 2021. In addition to receiving and deferring the processing fees, Mid Penn recorded and deferred related loan origination costs, and in accordance with ASC 310-20, Receivables—Nonrefundable Fees and Other Costs, the processing fees and loan origination costs are being amortized to interest and fees on loans and leases on the Consolidated Statements of Income over the life of each respective loan. As of June 30, 2021, Mid Penn had $14,472,000 of PPP deferred loan processing fees not yet realized as income, consisting of (i) $872,000 of loan processing fees received related to PPP loans funded during the year ended December 31, 2020, and (ii) $13,600,000 of loan processing fees received related to PPP loans funded during the six months ended June 30, 2021. Comparatively, as of December 31, 2020, Mid Penn had $7,746,000 of PPP deferred loan processing fees not yet realized as income, all resulting from PPP loans funded during the year ended December 31, 2020. Mid Penn recognized $6,244,000 of PPP processing fees during the quarter ended June 30, 2021, compared to $2,731,000 of PPP processing fees for the same period of 2020. During the six months ended June 30, 2021 and 2020, Mid Penn recognized $11,291,000 and $2,371,000 of PPP processing fees, respectively. PPP processing fees are reflected within interest and fees on loans and leases on the Consolidated Statements of Income. Allowance for Loan and Lease Losses The allowance for credit losses (“allowance”) and the related provision reflect Mid Penn’s continued application of the incurred loss method for estimating credit losses as Mid Penn is not required to adopted the current expected credit loss (“CECL”) accounting standard until January 1, 2023, and Mid Penn has not elected to early adopt CECL. The allowance consists of (i) the allowance for loan and lease losses, and (ii) the reserve for unfunded lending commitments. The allowance for loan and lease losses represents management’s estimate of losses inherent in the loan portfolio as of the balance sheet date and is recorded as a reduction to loans. The reserve for unfunded lending commitments represents management’s estimate of losses inherent in its unfunded loan commitments and is recorded in other liabilities on the consolidated balance sheet. The reserve for unfunded lending commitments was $68,000 at June 30, 2021 and $66,000 at December 31, 2020. The allowance is increased by the provision for loan and lease losses, and decreased by charge-offs, net of recoveries. Loans deemed to be uncollectible are charged against the allowance, and subsequent recoveries, if any, are credited to the allowance. All, or part, of the principal balance of loans are charged off to the allowance as soon as it is determined that the repayment of all, or part, of the principal balance is highly unlikely. Non-residential consumer loans are generally charged off no later than 120 days past due on a contractual basis, or earlier in the event of either bankruptcy or if there is an amount deemed uncollectible. Because all identified losses are immediately charged off, no portion of the allowance is restricted to any individual loan or groups of loans, and the entire allowance is available to absorb any and all loan losses. The allowance is maintained at a level considered by management to be adequate to provide for losses that can be reasonably anticipated. Management performs a monthly evaluation of the adequacy of the allowance. The allowance is based on Mid Penn’s past loan loss experience, known and inherent risks in the portfolio, adverse situations that may affect the borrower’s ability to repay, the estimated value of any underlying collateral, composition of the loan portfolio, current economic conditions, and other relevant factors. This evaluation is inherently subjective as it requires material estimates that may be susceptible to significant revision as more information becomes available. The allowance consists of specific, general and unallocated components. The specific component relates to loans that are classified as impaired. For loans that are classified as impaired, an allowance is established when the discounted cash flows, collateral value, or observable market price of the impaired loan is lower than the carrying value of that loan. The general component covers pools of loans by loan class including commercial loans not considered impaired, as well as smaller balance homogeneous loans, such as residential real estate, home equity and other consumer loans. These pools of loans are evaluated for loss exposure based upon historical loss rates for each of these categories of loans, adjusted for qualitative factors. These qualitative risk factors include changes in economic conditions, fluctuations in loan quality measures, changes in collateral values, changes in the experience of the lending staff and loan review systems, changes in lending policies and procedures (including underwriting standards), changes in the mix and volume of loans originated, the effect of other external factors such as competition and legal and regulatory requirements on the level of estimated credit losses in the existing loan portfolio, shifting industry or portfolio concentrations, and other relevant factors. Each factor is assigned a value to reflect improving, stable or declining conditions based on management’s best judgment using relevant information available at the time of the evaluation. Adjustments to the factors are supported through documentation of changes in conditions in relevant analyses and a narrative accompanying the allowance for loan loss calculation. The unallocated component of the allowance for loan and lease losses covers several considerations that are not specifically measurable through either the specific and general components. For example, at times Mid Penn could face increasing credit risks and uncertainties, not yet reflected in recent historical losses or qualitative factor assessments, associated with unpredictable changes in economic growth or business conditions in our markets or for certain industries in which we have commercial loan borrowers, or unanticipated stresses to the values of real estate held as collateral, or unforeseeable effects on the portfolio from other influences, inducing the long-term impact of the pandemic. Any or all of these additional issues can adversely affect our borrowers’ ability to timely repay their loans. Additionally, we have experienced continued strong commercial loan growth, including growth in newer markets where we have less of a loss history. Also, the unallocated component allocation recognizes the inherent imprecision in our allowance for loan and lease loss methodology, or any alternative methodology, for estimating specific and general loan losses. This includes, but is not limited to, (i) the unpredictable timing and amounts of charge-offs, (ii) the fact that historical loss averages don’t necessarily correlate to future loss trends, (iii) data and trends supporting qualitative factor judgements may not be indicative of the true nature of future period risks, and (iv) unexpected changes to specific-credit or general portfolio future cash flows and collateral values which could negatively impact unimpaired portfolio loss factors. Mid Penn generally considers a commercial loan (consisting of commercial and industrial, commercial real estate, commercial real estate-construction, and lease financing loan classes) to be impaired when it becomes 90 days or more past due and not in the process of collection, or sooner when it is probable that Mid Penn will be unable to collect all contractual principal and interest due. This methodology assumes the borrower cannot or will not continue to make additional payments. At that time, the loan would generally be considered collateral dependent as the discounted cash flow method would generally indicate no operating income available for evaluating the collateral position; therefore, most impaired loans are deemed to be collateral dependent. In addition, Mid Penn’s rating system assumes any loans classified as nonaccrual, included in the substandard rating, to be impaired, and most of these loans are considered collateral dependent; therefore, most of Mid Penn’s impaired loans, whether reporting a specific allocation or not, are considered collateral dependent. Mid Penn evaluates loans for charge-off on a monthly basis. Policies that govern the recommendation for charge-off are unique to the type of loan being considered. Commercial loans classified as substandard nonaccrual, doubtful, having probable loss will first have a collateral evaluation completed in accordance with the guidance on impaired loans. Once the collateral evaluation has been completed, a specific allocation of allowance is made based upon the results of the evaluation. The remaining balance remains a nonperforming loan with the original terms and interest rate intact (not restructured). In the event the loan is unsecured, the loan would have been charged-off at the recognition of impairment. Commercial real estate loans determined to be impaired will also have an initial collateral evaluation completed in accordance with the guidance on impaired loans. An updated real estate valuation is ordered and the collateral evaluation is modified to reflect any variations in value. A specific allocation of allowance is made for any anticipated collateral shortfall. The remaining balance remains a nonperforming loan with the original terms and interest rate intact (not restructured). The process of charging off a residential mortgage loan begins when a loan becomes delinquent for 90 days and is not in the process of collection. The existing appraisal is reviewed and a lien search is obtained to determine lien position and any instances of intervening liens. A new appraisal of the property will be ordered if deemed necessary by management and a collateral evaluation is completed. The loan will then be charged down to the value indicated in the evaluation. Non-residential consumer loans are generally charged off no later than 120 days past due on a contractual basis, or earlier in the event of either bankruptcy or if there is an amount deemed uncollectible. The collateral shortfall of the consumer loan is recommended for charge-off at this point. As noted above, Mid Penn assesses a specific allocation for commercial loans and commercial real estate loans. The remaining balance remains a nonperforming loan with the original terms and interest rate intact (not restructured). In addition, Mid Penn takes a preemptive step when any commercial loan becomes classified under its internal classification system. A preliminary collateral evaluation, in accordance with the guidance on impaired loans, is prepared using the existing collateral information in the loan file. This process allows Mid Penn to review both the credit and documentation files to determine the status of the information needed to make a collateral evaluation. This collateral evaluation is preliminary, but allows Mid Penn to determine if any potential collateral shortfalls exist. It is Mid Penn’s policy to obtain updated third-party collateral valuations on all impaired loans secured by real estate as soon as practically possible following the credit being classified as substandard nonaccrual. Prior to receipt of the updated real estate valuation, Mid Penn will use any existing real estate valuation to determine any potential allowance issues; however, no allowance recommendation will be made until such time Mid Penn is in receipt of the updated valuation. The Asset Recovery department employs an electronic tracking system to monitor the receipt of and need for updated appraisals. To date, there have been no material time lapses noted with the above processes. In some instances, Mid Penn is not holding real estate as collateral and is relying on business assets (personal property) for repayment. In these circumstances, a collateral inspection is performed by Mid Penn personnel to determine an estimated value. The value is based on net book value, as provided by the financial statements, and discounted accordingly based on determinations made by management. Occasionally, Mid Penn will employ an outside service to provide a fair estimate of value based on auction sales or private sales. Management reviews the estimates of these third parties and discounts them accordingly based on management’s judgment, if deemed necessary. For impaired loans with no valuation allowance required, the independent third party market valuations on the subject property obtained by Mid Penn as soon as practically possible following the credit being placed on nonaccrual status sometimes indicates that the loan-to-value ratio is sufficient to obviate the need for a specific allocation in spite of significant deterioration in real estate values in Mid Penn’s primary market area. These circumstances are determined on a case by case analysis of the impaired loans. Mid Penn actively monitors the values of collateral on impaired loans. This monitoring may require the modification of collateral values over time or changing circumstances by some factor, either positive or negative, from the original values. All collateral values will be assessed by management at least every 12 months for possible revaluation by an independent third party. Large groups of smaller balance homogeneous loans are collectively evaluated for impairment. Accordingly, Mid Penn does not separately identify individual residential mortgage loans, home equity loans and other consumer loans for impairment disclosures, unless such loans are the subject of a troubled debt restructuring agreement. Loans whose terms are modified are classified as troubled debt restructurings if the borrowers have been granted concessions and it is deemed that those borrowers are experiencing financial difficulty. Concessions granted under a troubled debt restructuring generally involve a temporary reduction in interest rate or an extension of a loan’s stated maturity date. Nonaccrual troubled debt restructurings are restored to accrual status if principal and interest payments, under the modified terms, are current for nine consecutive months after modification. Loans classified as troubled debt restructurings are designated as impaired. The allowance calculation methodology includes segregation of loan classes into risk rating categories. The borrower’s overall financial condition, repayment sources, guarantors, and value of collateral, if appropriate, are evaluated annually for commercial loans or when credit deficiencies arise, such as delinquent loan payments. Credit quality risk ratings include regulatory classifications of special mention, substandard, doubtful, and loss. Loans criticized as special mention have potential weaknesses that deserve management’s close attention. If uncorrected, the potential weaknesses may result in deterioration of the repayment prospects. Loans classified substandard have a well-defined weakness or weaknesses that jeopardize the liquidation of the debt. They include loans that are inadequately protected by the current sound net worth and paying capacity of the obligor or of the collateral pledged, if any. Loans classified doubtful have all the weaknesses inherent in loans classified substandard with the added characteristic that collection or liquidation in full, on the basis of current conditions and facts, is highly improbable. Loans classified as a loss are considered uncollectible and are charged to the allowance for loan losses. Any loans not classified as noted above are rated pass. In addition, federal and state regulatory agencies, as an integral part of their examination process, periodically review the Bank’s allowance and may require the Bank to recognize additions to the allowance based on their judgments about information available to them at the time of their examination, which may not be currently available to management. No such additions were required from any recent examinations. Based on management’s comprehensive analysis of the loan portfolio, management believes the current level of the allowance for loan losses is adequate. Mid Penn had $391,826,000 and $388,313,000 of PPP loans outstanding, net of deferred fees, as of June 30, 2021 and December 31, 2020, respectively, which though they are classified as commercial and industrial credits, the PPP loans are guaranteed by the Small Business Administration and, thus, have no loss reserve allocated to them. Acquired Loans Loans that Mid Penn acquires in connection with business combinations are recorded at fair value with no carryover of the acquired entity’s related allowance for loan losses. Loans acquired at fair value and included in the balance of loans and leases, net of unearned interest on the Consolidated Balance Sheets totaled $228,620,000 and $276,701,000 as of June 30, 2021 and December 31, 2020, respectively. The fair value of the acquired loans involves estimating the amount and timing of principal and interest cash flows expected to be collected on the loans, and discounting those cash flows at a market rate of interest. The excess of cash flows expected at acquisition over the estimated fair value is referred to as the accretable discount and is recognized into interest income over the remaining life of the loan. The difference between contractually required payments at acquisition and the cash flows expected to be collected at acquisition is referred to as the nonaccretable discount. These loans are accounted for under ASC 310-30, Loans and Debt Securities Acquired with Deteriorated Credit Quality. The nonaccretable discount includes estimated future credit losses expected to be incurred over the life of the loan. Subsequent decreases to the expected cash flows will require Mid Penn to evaluate the need for an additional allowance. Subsequent improvement in expected cash flows will result in the reversal of a corresponding amount of the nonaccretable discount which Mid Penn will then reclassify as accretable discount that will be recognized into interest income over the remaining life of the loan. Loans acquired through business combinations that meet the specific criteria of ASC 310-30 are individually evaluated each period to analyze expected cash flows. To the extent that the expected cash flows of a loan have decreased due to credit deterioration, Mid Penn establishes an allowance. Loans acquired through business combinations that do not meet the specific criteria of ASC 310-30 are accounted for under ASC 310-20. These loans are initially recorded at fair value, and include credit and interest rate marks associated with acquisition accounting adjustments. Purchase premiums or discounts are subsequently amortized as an adjustment to yield over the estimated contractual lives of the loans. There is no allowance for loan losses established at the acquisition date for acquired performing loans. An allowance for loan losses is recorded for any credit deterioration in these loans subsequent to acquisition. Acquired loans that met the criteria for impaired or nonaccrual of interest prior to the acquisition may be considered performing upon acquisition, regardless of whether the customer is contractually delinquent, if Mid Penn expects to fully collect the new carrying value (i.e. fair value) of the loans. As such, Mid Penn may no longer consider the loan to be nonaccrual or nonperforming at the date of acquisition and may accrue interest on these loans, including the impact of any accretable discount. In addition, charge-offs on such loans would be first applied to the nonaccretable difference portion of the fair value adjustment. Loan-Level Interest Rate Swaps Beginning during the second quarter of 2020, Mid Penn entered into loan-level interest rate swaps (“swaps”) to facilitate certain customer transactions and meet their financing needs. These swaps qualify as derivatives, but are not designated as hedging instruments. A loan-level interest rate swap is a contract in which the series of interest rate flows (fixed and variable) are exchanged over the term of a loan with certain qualifying commercial loan customers, and Mid Penn simultaneously enters into an interest rate swap with a dealer counterparty with identical notional amounts and terms. The net result of these swaps is that the customer pays a fixed interest rate and Mid Penn receives a floating interest rate. The swap positions with customers are equally offset with the dealer counterparties to minimize the potential impact on Mid Penn’s financial statements. Pursuant to our agreements with the dealer counterparties, we may receive collateral or may be required to post collateral based upon mark-to-market positions. Beyond unsecured threshold levels, collateral in the form of cash or securities may be made available to counterparties of interest rate swap transactions. Based upon our current positions and related future collateral requirements relating to them, we believe any effect on our cash flow or liquidity position to be immaterial. Derivatives contain an element of credit risk, including the possibility that we will incur a loss because a party to the agreements, which may be a dealer counterparty or a customer, fails to meet its contractual obligations. Derivative contracts may only be executed with dealer counterparties as approved by our Board of Directors. Similarly, derivatives with customers may only be executed with customers within credit exposure limits as approved by our Board of Directors. Loan-level interest rate swaps are considered derivatives but are not accounted for using hedge accounting. Bank Premises and Equipment Held for Sale Bank premises and equipment designated as held for sale are carried at the lower of cost or market value, and, at June 30, 2021 and December 31, 2020, consisted of one former retail banking property which was closed and listed for sale on December 31, 2020 totaling $210,000 and in included in other assets on the Consolidated Balance Sheets. There were no impairment charges recorded during the six months ended June 30, 2021 or 2020. Foreclosed Assets Held for Sale Foreclosed assets held for sale consist primarily of real estate acquired through, or in lieu of, foreclosure in settlement of debt, and are recorded at fair value less the selling costs at the date of transfer, establishing a new cost basis. Any valuation adjustments required at the date of transfer are charged to the allowance for loan losses. Subsequent to acquisition, foreclosed assets are carried at fair value less estimated costs of disposal, based upon periodic evaluations that consider changes in market conditions and development and disposal costs. Operating results from assets acquired in satisfaction of debt, including rental income less operating costs and gains or losses on the sale of, or the periodic evaluation of foreclosed assets, are recorded in noninterest expense. As of June 30, 2021, Mid Penn had no residential real estate held in other real estate owned and no loans for which formal foreclosure proceedings were in process. As of December 31, 2020, Mid Penn had $134,000 of residential real estate held in other real estate owned and $13,000 in loans for which formal foreclosure proceedings were in process. Leases Mid Penn leases certain premises and equipment and, as of January 1, 2019, for all leases in effect upon adoption of Accounting Standards Update 2016-02, Leases (Topic 842), as well as any leases commencing thereafter, Mid Penn has recognized a right-of-use asset and a related lease liability for each distinct lease agreement. The lease right-of-use asset consists of the amount of the initial measurement of the lease liability, adjusted for (i) any lease payments made to the lessor at or before the commencement date, minus any lease incentives received, and (ii) any initial direct costs incurred by the lessee (defined as costs of a lease that would not have been incurred had the lease not been executed). The related lease liability is equal to the present value of the future lease payments, discounted using the rate implicit in the lease (or if that rate cannot be readily determined, the lessee’s incremental borrowing rate). Given that the rate implicit in the lease is rarely available, all lease liability amounts were calculated using Mid Penn’s incremental borrowing rate at lease inception, on a collateralized basis, for a similar term. For operating leases existing prior to January 1, 2019, the rate for the remaining lease term as of January 1, 2019 was used. Operating lease expense, recognized as a component of occupancy expense on the Consolidated Statements of Income, consists of a single lease cost calculated so that the remaining cost of the lease is allocated over the remaining lease term on a straight-line basis. Operating lease expense also includes variable lease payments not included in the lease liability, and any impairment of the right-of-use asset. Finance lease expense consists of the amortization of the right-of-use asset, recognized as a component of occupancy expense on the Consolidated Statements of Income, and interest expense on the lease liability, which is recorded as a component of other interest expense on the Consolidated Statements of Income. In assessing whether a contract contains a lease, Mid Penn reviews third-party agreements to determine if the contract conveys the right to control the use of identified property, plant, or equipment (defined as an identified asset by Topic 842) for a period of time in exchange for consideration, and grants Mid Penn the right to both (i) obtain substantially all of the economic benefits from the identified asset’s use, and (ii) direct the use of the identified asset throughout the term of the agreement. Upon identification that a lease agreement exists, Mid Penn performs an assessment of the consideration to be paid related to the identified asset and quantifies both the (i) lease components, consisting of consideration paid to transfer a good or service to Mid Penn, and (ii) non-lease components, consisting of consideration paid for distinct elements of the contract that are not related to securing the use of the leased asset, such as property taxes, common area maintenance, utilities, and insurance. Many of Mid Penn’s lease agreements include options to extend or renew contracts subsequent to the expiration of the initial lease term. These renewal and extension options were not included in the calculation of the right-of-use assets and lease liabilities as Mid Penn is not reasonably certain that these renewals and extensions will be utilized. Additionally, for leases that contain escalation clauses related to consumer or other price indices, Mid Penn includes the known lease payment amount as of the commencement date in the calculation of right-of-use assets and related lease liabilities. Subsequent increases in rental payments over the known amount at the commencement date due to increase in the indices will be expensed as incurred. None of Mid Penn’s lease agreements include residual value guarantees or material variable lease payments. Mid Penn does not have material restrictions or covenants imposed by leases that would impact Mid Penn’s ability to pay dividends or cause Mid Penn to incur additional financial obligations. Investments in Limited Partnerships Mid Penn is a limited partner in a partnership that provides low-income housing in Enola, Pennsylvania. The carrying value of Mid Penn’s investment in the limited partnership was $124,000 at June 30, 2021, and $146,000 at December 31, 2020, net of amortization, using the straight-line method. The investment in this limited partnership is reported in other assets on the Consolidated Balance Sheets, and Mid Penn’s maximum exposure to loss is limited to the carrying value of the investment. Mid Penn also has a limited partnership interest in a low-income housing project with thirty-seven apartments and common amenities in Dauphin County, Pennsylvania. The total investment in this limited partnership, net of amortization to date, was $6,338,000 and $6,682,000 on June 30, 2021 and December 31, 2020, respectively, and was included in the reported balance of other assets on the Consolidated Balance Sheet. All of the units qualified for Federal Low-Income Housing Tax Credits (“LIHTCs”) as provided for in Section 42 of the Internal Revenue Code of 1986, as amended. Mid Penn’s limited partner capital contribution totaled $7,506,000 and the investment was fully funded within a three-year period beginning in 2018 and ending during the first quarter of 2021. The investment in the limited partnership is reported in other assets on the Consolidated Balance Sheet and is being amortized over a ten-year period using the cost amortization method which began upon commencement of operations of the facility in December 2019. The project was formally awarded $8,530,000 in total LIHTCs by the Pennsylvania Housing Finance Agency, which will be recognized over the ten-year period from December 2019 through November 2029, with an annual LIHTC amount of approximately $853,000 to be awarded to Mid Penn in the year-ended December 31, 2021. Core Deposit Intangible Core deposit intangible is a measure of the value of consumer demand and savings deposits acquired in business combinations accounted for as purchases. The carrying amount of core deposit intangible was $3,768,000 and $4,311,000 at June 30, 2021 and December 31, 2020, respectively. Core deposit amortization expense is reflected in the Consolidated Statements of Income in intangible amortization and was $543,000 and $619,000 for the six months ended June 30, 2021 and 2020, respectively. Core deposit amortization was $271,000 and $309,000 for the three months ended June 30, 2021 and 2020, respectively. The core deposit intangible is being amortized over a ten-year period starting at each respective acquisition date and using the sum-of-the-year’s digits amortization method. The current balance of the core deposit intangible includes unamortized assets from (i) the Phoenix Bancorp, Inc. acquisition (“Phoenix”) in March 2015 (ii) The Scottdale Bank and Trust Company acquisition (“Scottdale”) in January 2018, and (iii) the First Priority Financial Corp. acquisition (“First Priority) in July 2018. Core deposit intangible assets are subject to impairment testing whenever events or changes in circumstances indicate the need for such evaluation. For much of the year ended December 31, 2020, and through the six months ended June 30, 2021, the novel coronavirus (“COVID-19”) global pandemic has continued to impact the United States including the State of Pennsylvania and Mid Penn’s market area and communities and customers. Accordingly, Mid Penn management evaluated whether this ongoing COVID-19 pandemic resulted in any impairment to Mid Penn’s business and the value of its acquired consumer demand and savings deposit base. Management’s determination was that there was no impairment to its core deposit intangible to date as a result of the pandemic or related factors. Supporting this assertion, and as reflected in the Consolidated Balance Sheets as of June 30, 2021 and December 31, 2020, Mid Penn has recognized substantial total deposit growth of $307,544,000 or 12 percent (25 percent annualized) during the first six months of 2021, and total deposit growth of $562,186,000 or 29 percent during the year ended December 31, 2020, with none of this growth attributable to brokered deposits. Subsequent to June 30, 2021, and through the date of this filing, these increased deposit levels were sustained and continued to reflect no evidence of core deposit intangible impairment. Goodwill Goodwill is the excess of the purchase price over the fair value of assets acquired in connection with past business acquisitions. The goodwill balance was $62,840,000 at both June 30, 2021 and December 31, 2020, and was comprised of (i) $39,744,000 related to the July 31, 2018 First Priority acquisition, (ii) $19,178,000 related to the January 8, 2018 Scottdale acquisition and (iii) $3,918,000 recorded as a result of the Phoenix acquisition in 2015. Goodwill is evaluated annually for impairment; however, if certain events occur which indicate goodwill might be impaired between annual tests, goodwill would be tested for impairment when such events occur. In making a potential impairment assessment of goodwill, Mid Penn considers a number of factors including operating results, business plans, economic projections, anticipated future cash flows, current market data, stock price, etc. There are inherent uncertainties related to these factors and Mid Penn’s judgment in applying them to the analysis of goodwill impairment. Mid Penn did not identify any impairment on its outstanding goodwill from its most recent comprehensive impairment evaluation which was performed as of October 31, 2020 and has been evaluated regularly for impairment given the ongoing pandemic. For the prior year second quarter and six-month reporting periods, and in support of the related Corporation and Bank financial reports, Mid Penn management performed a “Step One” goodwill analysis to determine whether the current or expected impact from the COVID-19 global pandemic resulted in any impairment to Mid Penn’s business and the recorded value of its goodwill intangible asset. Based upon this goodwill analysis, Mid Penn management determined that there was no impairment to its goodwill in the interim 2020 periods. Changes in economic and operating conditions, including those resulting from the continuing COVID-19 pandemic and its implications to the country, the economy, and specifically Mid Penn continue to evolve, could result in goodwill impairment in future periods. Revenue from Contracts with Customers Mid Penn recognizes revenues when earned based upon (i) contractual terms as transactions occur, or (ii) as related services are provided and collectability is reasonably assured. The largest source of revenue for Mid Penn is interest income, which is primarily recognized on an accrual basis according to a written contract, such as loan and lease agreements or investment securities contracts. Mid Penn earns noninterest income through a variety of financial and transactional services such as trust and wealth management services, deposit account transaction fees, ATM debit card fees, and mortgage banking fees. Revenue is recorded for noninterest income based on the contractual terms for the service or transaction performed. In certain circumstances, noninterest income is reported net of associated expenses. On January 1, 2018, Mid Penn adopted FASB Topic 606, Revenue from Contracts with Customers. This ASU establishes principles for reporting information about the nature, timing, and uncertainty of revenue and cash flows arising from the entity’s contracts to provide goods and services to customers. Topic 606 applies primarily to transactional-based non-interest income revenue streams and excludes mortgage banking income, earnings from cash surrender value of life insurance, and gains on SBA loans. Mid Penn’s non-interest income revenue streams of income from fiduciary activities, service charges on deposits, ATM debit card interchange income, merchant service fees and certain components of other income are within the scope of Topic 606 and are discussed in greater detail below. Income from Fiduciary and Wealth Management Activities Income from fiduciary and wealth management activities consist of trust, wealth management, and investment management fee income, brokerage transaction fee income, and estate fee income. Trust, wealth management, and investment management fee income consists of advisory fees that are typically based on market values of clients’ managed portfolios and transaction fees for fiduciary services performed, both of which are recognized as earned. Brokerage transaction fee income includes advisory fees, which are recognized as earned on a monthly basis and transaction fees that are recognized when transactions occur. Payment is typically received in the following month. Estate fee income is recognized as services are performed over the service period, generally eighteen months. Service Charges on Deposits Service charges on deposits consist of cash management, overdraft, non-sufficient fund fees and other service charges on deposit accounts. Revenue is primarily transactional and recognized when earned, which is at the time the respective initiating transaction occurs and the related service charge is subsequently processed. Payment for service charges on deposit accounts is primarily received immediately or in the following month through a direct charge to the customers’ accounts. ATM Debit Card Interchange Income ATM debit card interchange income consists of interchange fees earned when Mid Penn’s debit cards are processed through card payments networks. The interchange fee is calculated as a percentage of the total electronic funds transfer (EFT) transaction plus a per-transaction fee, which varies based on the type of card used, the method used to process the EFT transaction, and the type of business at which the transaction was processed. Revenue is recognized daily as transactions occur and interchange fees are subsequently processed. Payment for most interchange activity is received daily, while some fees are aggregated and payment is received in the following month. Merchant Services Income Merchant services income is processed through third party providers with whom Mid Penn has partnered to provide merchant services to its business customers. Fees are charged to merchants to process their debit card transactions, cash advance services, and other related products. Mid Penn receives a percentage of the revenue generated from each joint customer relationship after the respective third-party provider has collected the fee income from the merchant. Payment is primarily received in the following month. Other Income Certain aspects of other income, such as credit card royalties, check orders, and letter of credit fees, are within the scope of Topic 606. These fees are primarily transactional, and revenue is recognized when transactions occur and the related services are subsequently processed. Payment is primarily received immediately or in the following month. Mid Penn does not exercise significant judgements in the recognition of income, as typically income is not recognized until the performance obligation has been satisfied. Mid Penn has not recognized any assets from the costs to obtain or fulfill a contract with customers for revenue streams that fall within the guidance of Topic 606. Comprehensive Income Comprehensive income consists of net income and other comprehensive income (loss). Other comprehensive income (loss) includes changes in unrealized gains and losses on securities available for sale arising during the period and reclassification adjustments for realized gains and losses on securities available for sale included in net income. Mid Penn also recognizes other comprehensive income (loss) from an unfunded noncontributory defined benefit plan for directors and other postretirement benefit plans covering full-time employees. These plans utilize assumptions and methods to calculate the fair value of plan assets and Mid Penn recognizes the overfunded and underfunded status of the plans on its consolidated balance sheet. Gains and losses, prior service costs and credits are recognized in other comprehensive income (loss), net of tax, until they are amortized, or immediately upon curtailment. The components of accumulated other comprehensive income (loss), net of taxes, are as follows:
(Dollars in thousands) |  | Unrealized Gain (Loss) on Securities |  |  | Defined Benefit Plans |  |  | Accumulated Other Comprehensive Income (Loss) |
Balance - June 30, 2021 |  | $ | 19 |  |  | $ | 200 |  |  | $ | 219 |
Balance - December 31, 2020 |  | $ | (3 | ) |  | $ | (54 | ) |  | $ | (57 | )
Earnings Per Common Share Basic earnings per common share are computed by dividing net income available to common shareholders by the weighted average number of common shares outstanding during each of the periods presented. Diluted earnings per common share are calculated by dividing net income available to common shareholders by the weighted average number of common shares outstanding plus common shares that would have been outstanding if dilutive potential common shares, consisting of unvested restricted stock, had been issued. The effect of dilutive unvested restricted stock was not material and did not result in a difference, when rounded to the whole cent, between the basic earnings per share compared to the diluted earnings per share for any of the periods presented. As previously announced on a Form 8-K on May 4, 2021, Mid Penn completed an underwritten public offering of 2,990,000 shares of common stock at a price of $25.00 per share, with the aggregate gross proceeds of the offering totaling $74,750,000 before underwriting discounts and offering expenses. The net proceeds of the offering after deducting the underwriting discount and other offering expenses were $70,238,000. The additional shares issued on May 4, 2021 significantly impacted the weighted average number of shares outstanding used for both the second quarter of 2021 and year-to-date 2021 earnings per share calculations. The following data shows the amounts used in computing basic and diluted earnings per common share.
(Dollars in thousands, except per share data) | Three Months Ended June 30, |  |  | Six Months Ended June 30, |
| 2021 |  |  |  | 2020 |  |  | 2021 |  |  |  | 2020 |
Net income | $ | 9,613 |  |  | $ | 6,833 |  |  |  | $ | 18,925 |  |  | $ | 10,651 |
Weighted average common shares outstanding (basic) |  | 10,321,838 |  |  |  | 8,446,377 |  |  |  |  | 9,373,978 |  |  |  | 8,463,676 |
Effect of dilutive unvested restricted stock grants |  | 15,942 |  |  |  | 3,973 |  |  |  |  | 6,479 |  |  |  | 4,528 |
Weighted average common shares outstanding (diluted) |  | 10,337,780 |  |  |  | 8,450,350 |  |  |  |  | 9,380,457 |  |  |  | 8,468,204 |
Basic earnings per common share | $ | 0.93 |  |  | $ | 0.81 |  |  |  | $ | 2.02 |  |  | $ | 1.26 |
Diluted earnings per common share | $ | 0.93 |  |  | $ | 0.81 |  |  |  | $ | 2.02 |  |  | $ | 1.26 |
There were no antidilutive instruments at June 30, 2021 and 2020.

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

X
- Definition The entire disclosure for all significant accounting policies of the reporting entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -URI http://asc.fasb.org/topic&trid=2122369 + Details
Name: | us-gaap_SignificantAccountingPoliciesTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration