XML 44 R30.htm IDEA: XBRL DOCUMENT
v3.21.2

Fair Value Measurements - Assets and Liabilities Measured at Fair Value on Recurring Basis (Details) - USD ($) $ in Thousands | Jun. 30, 2021 | Dec. 31, 2020
--- | --- | ---
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | $ 839,279 | $ 770,393
Marketable equity securities | 1,096 | 3,300
U.S. Treasury securities |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 74,804 | 10,282
Obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 81,624 | 82,904
Collateralized mortgage obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 201,350 | 209,296
Residential mortgage-backed securities of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 63,859 | 67,778
Commercial mortgage-backed securities of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 325,303 | 273,681
Obligations of states and political subdivisions |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 91,840 | 124,427
Fair Value Measurements, Recurring |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 839,279 | 770,393
Marketable equity securities | 1,096 | 3,300
Total Securities | 840,375 | 773,693
Securities held in a deferred compensation plan | 7,808 | 6,794
Total Assets | 898,398 | 861,706
LIABILITIES |  |
Total Liabilities | 49,568 | 79,418
Fair Value Measurements, Recurring | U.S. Treasury securities |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 74,804 | 10,282
Fair Value Measurements, Recurring | Obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 81,624 | 82,904
Fair Value Measurements, Recurring | Collateralized mortgage obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 201,350 | 209,296
Fair Value Measurements, Recurring | Residential mortgage-backed securities of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 63,859 | 67,778
Fair Value Measurements, Recurring | Commercial mortgage-backed securities of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 325,303 | 273,681
Fair Value Measurements, Recurring | Corporate obligations |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 499 | 2,025
Fair Value Measurements, Recurring | Obligations of states and political subdivisions |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 91,840 | 124,427
Fair Value Measurements, Recurring | Interest rate swaps |  |
ASSETS |  |
Derivative financial assets | 49,078 | 78,319
LIABILITIES |  |
Derivative financial liabilities | 49,477 | 79,033
Fair Value Measurements, Recurring | Interest rate lock commitments |  |
ASSETS |  |
Derivative financial assets | 1,137 | 2,900
Fair Value Measurements, Recurring | Forward sale contracts |  |
LIABILITIES |  |
Derivative financial liabilities | 91 | 385
Fair Value Measurements, Recurring | Level 1 |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 74,804 | 10,282
Marketable equity securities | 1,015 | 3,228
Total Securities | 75,819 | 13,510
Securities held in a deferred compensation plan | 7,808 | 6,794
Total Assets | 83,627 | 20,304
LIABILITIES |  |
Total Liabilities | 0 | 0
Fair Value Measurements, Recurring | Level 1 | U.S. Treasury securities |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 74,804 | 10,282
Fair Value Measurements, Recurring | Level 1 | Obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 0 | 0
Fair Value Measurements, Recurring | Level 1 | Collateralized mortgage obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 0 | 0
Fair Value Measurements, Recurring | Level 1 | Residential mortgage-backed securities of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 0 | 0
Fair Value Measurements, Recurring | Level 1 | Commercial mortgage-backed securities of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 0 | 0
Fair Value Measurements, Recurring | Level 1 | Corporate obligations |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 0 | 0
Fair Value Measurements, Recurring | Level 1 | Obligations of states and political subdivisions |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 0 | 0
Fair Value Measurements, Recurring | Level 1 | Interest rate swaps |  |
ASSETS |  |
Derivative financial assets | 0 | 0
LIABILITIES |  |
Derivative financial liabilities | 0 | 0
Fair Value Measurements, Recurring | Level 1 | Interest rate lock commitments |  |
ASSETS |  |
Derivative financial assets | 0 | 0
Fair Value Measurements, Recurring | Level 1 | Forward sale contracts |  |
LIABILITIES |  |
Derivative financial liabilities | 0 | 0
Fair Value Measurements, Recurring | Level 2 |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 764,475 | 760,111
Marketable equity securities | 81 | 72
Total Securities | 764,556 | 760,183
Securities held in a deferred compensation plan | 0 | 0
Total Assets | 813,634 | 838,502
LIABILITIES |  |
Total Liabilities | 49,568 | 79,418
Fair Value Measurements, Recurring | Level 2 | U.S. Treasury securities |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 0 | 0
Fair Value Measurements, Recurring | Level 2 | Obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 81,624 | 82,904
Fair Value Measurements, Recurring | Level 2 | Collateralized mortgage obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 201,350 | 209,296
Fair Value Measurements, Recurring | Level 2 | Residential mortgage-backed securities of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 63,859 | 67,778
Fair Value Measurements, Recurring | Level 2 | Commercial mortgage-backed securities of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 325,303 | 273,681
Fair Value Measurements, Recurring | Level 2 | Corporate obligations |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 499 | 2,025
Fair Value Measurements, Recurring | Level 2 | Obligations of states and political subdivisions |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 91,840 | 124,427
Fair Value Measurements, Recurring | Level 2 | Interest rate swaps |  |
ASSETS |  |
Derivative financial assets | 49,078 | 78,319
LIABILITIES |  |
Derivative financial liabilities | 49,477 | 79,033
Fair Value Measurements, Recurring | Level 2 | Interest rate lock commitments |  |
ASSETS |  |
Derivative financial assets | 0 | 0
Fair Value Measurements, Recurring | Level 2 | Forward sale contracts |  |
LIABILITIES |  |
Derivative financial liabilities | 91 | 385
Fair Value Measurements, Recurring | Level 3 |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 0 | 0
Marketable equity securities | 0 | 0
Total Securities | 0 | 0
Securities held in a deferred compensation plan | 0 | 0
Total Assets | 1,137 | 2,900
LIABILITIES |  |
Total Liabilities | 0 | 0
Fair Value Measurements, Recurring | Level 3 | U.S. Treasury securities |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 0 | 0
Fair Value Measurements, Recurring | Level 3 | Obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 0 | 0
Fair Value Measurements, Recurring | Level 3 | Collateralized mortgage obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 0 | 0
Fair Value Measurements, Recurring | Level 3 | Residential mortgage-backed securities of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 0 | 0
Fair Value Measurements, Recurring | Level 3 | Commercial mortgage-backed securities of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 0 | 0
Fair Value Measurements, Recurring | Level 3 | Corporate obligations |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 0 | 0
Fair Value Measurements, Recurring | Level 3 | Obligations of states and political subdivisions |  |
ASSETS |  |
Debt securities, available-for-sale, excluding accrued interest | 0 | 0
Fair Value Measurements, Recurring | Level 3 | Interest rate swaps |  |
ASSETS |  |
Derivative financial assets | 0 | 0
LIABILITIES |  |
Derivative financial liabilities | 0 | 0
Fair Value Measurements, Recurring | Level 3 | Interest rate lock commitments |  |
ASSETS |  |
Derivative financial assets | 1,137 | 2,900
Fair Value Measurements, Recurring | Level 3 | Forward sale contracts |  |
LIABILITIES |  |
Derivative financial liabilities | $ 0 | $ 0

X
- Definition Assets Held-in-Trust, Fair Value Disclosure + References No definition available. + Details
Name: | stba_AssetsHeldinTrustFairValueDisclosure
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount excluding accrued interest, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 + Details
Name: | us-gaap_DerivativeAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 + Details
Name: | us-gaap_DerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=123594786&loc=SL75136599-209740 + Details
Name: | us-gaap_EquitySecuritiesFvNi
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

X
- Definition Fair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 + Details
Name: | us-gaap_InvestmentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of financial and nonfinancial obligations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 + Details
Name: | us-gaap_LiabilitiesFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CollateralizedMortgageObligationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_ResidentialMortgageBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CommercialMortgageBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USStatesAndPoliticalSubdivisionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateBondSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_InterestRateLockCommitmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_ForwardContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |