XML 78 R66.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Fair Value Measurements - Assets and Liabilities Measured at Fair Value on Recurring Basis (Details) - USD ($) $ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
ASSETS |  |
Debt securities available-for-sale | $ 909,651 | $ 770,393
Marketable equity securities | 1,142 | 3,300
U.S. Treasury securities |  |
ASSETS |  |
Debt securities available-for-sale | 95,327 | 10,282
Obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities available-for-sale | 70,348 | 82,904
Collateralized mortgage obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities available-for-sale | 270,294 | 209,296
Residential mortgage-backed securities of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities available-for-sale | 56,793 | 67,778
Commercial mortgage-backed securities of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities available-for-sale | 341,300 | 273,681
Obligations of states and political subdivisions |  |
ASSETS |  |
Debt securities available-for-sale | 75,089 | 124,427
Fair Value Measurements, Recurring |  |
ASSETS |  |
Debt securities available-for-sale | 909,651 | 770,393
Marketable equity securities | 1,142 | 3,300
Total Securities | 910,793 | 773,693
Securities held in a deferred compensation plan | 10,230 | 6,794
Total Assets | 954,956 | 861,706
LIABILITIES |  |
Total Liabilities | 33,631 | 79,418
Fair Value Measurements, Recurring | U.S. Treasury securities |  |
ASSETS |  |
Debt securities available-for-sale | 95,327 | 10,282
Fair Value Measurements, Recurring | Obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities available-for-sale | 70,348 | 82,904
Fair Value Measurements, Recurring | Collateralized mortgage obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities available-for-sale | 270,294 | 209,296
Fair Value Measurements, Recurring | Residential mortgage-backed securities of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities available-for-sale | 56,793 | 67,778
Fair Value Measurements, Recurring | Commercial mortgage-backed securities of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities available-for-sale | 341,300 | 273,681
Fair Value Measurements, Recurring | Corporate obligations |  |
ASSETS |  |
Debt securities available-for-sale | 500 | 2,025
Fair Value Measurements, Recurring | Obligations of states and political subdivisions |  |
ASSETS |  |
Debt securities available-for-sale | 75,089 | 124,427
Fair Value Measurements, Recurring | Interest rate swaps |  |
ASSETS |  |
Derivative financial assets | 33,528 | 78,319
LIABILITIES |  |
Derivative financial liabilities | 33,631 | 79,033
Fair Value Measurements, Recurring | Interest rate lock commitments |  |
ASSETS |  |
Derivative financial assets | 401 | 2,900
Fair Value Measurements, Recurring | Forward sale contracts |  |
ASSETS |  |
Derivative financial assets | 4 |
LIABILITIES |  |
Derivative financial liabilities |  | 385
Fair Value Measurements, Recurring | Level 1 |  |
ASSETS |  |
Debt securities available-for-sale | 95,327 | 10,282
Marketable equity securities | 1,061 | 3,228
Total Securities | 96,388 | 13,510
Securities held in a deferred compensation plan | 10,230 | 6,794
Total Assets | 106,618 | 20,304
LIABILITIES |  |
Total Liabilities | 0 | 0
Fair Value Measurements, Recurring | Level 1 | U.S. Treasury securities |  |
ASSETS |  |
Debt securities available-for-sale | 95,327 | 10,282
Fair Value Measurements, Recurring | Level 1 | Obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities available-for-sale | 0 | 0
Fair Value Measurements, Recurring | Level 1 | Collateralized mortgage obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities available-for-sale | 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 | 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 | 0 | 0
Fair Value Measurements, Recurring | Level 1 | Corporate obligations |  |
ASSETS |  |
Debt securities available-for-sale | 0 | 0
Fair Value Measurements, Recurring | Level 1 | Obligations of states and political subdivisions |  |
ASSETS |  |
Debt securities available-for-sale | 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 |  |
ASSETS |  |
Derivative financial assets | 0 |
LIABILITIES |  |
Derivative financial liabilities |  | 0
Fair Value Measurements, Recurring | Level 2 |  |
ASSETS |  |
Debt securities available-for-sale | 814,324 | 760,111
Marketable equity securities | 81 | 72
Total Securities | 814,405 | 760,183
Securities held in a deferred compensation plan | 0 | 0
Total Assets | 847,933 | 838,502
LIABILITIES |  |
Total Liabilities | 33,631 | 79,418
Fair Value Measurements, Recurring | Level 2 | U.S. Treasury securities |  |
ASSETS |  |
Debt securities available-for-sale | 0 | 0
Fair Value Measurements, Recurring | Level 2 | Obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities available-for-sale | 70,348 | 82,904
Fair Value Measurements, Recurring | Level 2 | Collateralized mortgage obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities available-for-sale | 270,294 | 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 | 56,793 | 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 | 341,300 | 273,681
Fair Value Measurements, Recurring | Level 2 | Corporate obligations |  |
ASSETS |  |
Debt securities available-for-sale | 500 | 2,025
Fair Value Measurements, Recurring | Level 2 | Obligations of states and political subdivisions |  |
ASSETS |  |
Debt securities available-for-sale | 75,089 | 124,427
Fair Value Measurements, Recurring | Level 2 | Interest rate swaps |  |
ASSETS |  |
Derivative financial assets | 33,528 | 78,319
LIABILITIES |  |
Derivative financial liabilities | 33,631 | 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 |  |
ASSETS |  |
Derivative financial assets | 0 |
LIABILITIES |  |
Derivative financial liabilities |  | 385
Fair Value Measurements, Recurring | Level 3 |  |
ASSETS |  |
Debt securities available-for-sale | 0 | 0
Marketable equity securities | 0 | 0
Total Securities | 0 | 0
Securities held in a deferred compensation plan | 0 | 0
Total Assets | 405 | 2,900
LIABILITIES |  |
Total Liabilities | 0 | 0
Fair Value Measurements, Recurring | Level 3 | U.S. Treasury securities |  |
ASSETS |  |
Debt securities available-for-sale | 0 | 0
Fair Value Measurements, Recurring | Level 3 | Obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities available-for-sale | 0 | 0
Fair Value Measurements, Recurring | Level 3 | Collateralized mortgage obligations of U.S. government corporations and agencies |  |
ASSETS |  |
Debt securities available-for-sale | 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 | 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 | 0 | 0
Fair Value Measurements, Recurring | Level 3 | Corporate obligations |  |
ASSETS |  |
Debt securities available-for-sale | 0 | 0
Fair Value Measurements, Recurring | Level 3 | Obligations of states and political subdivisions |  |
ASSETS |  |
Debt securities available-for-sale | 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 | 401 | 2,900
Fair Value Measurements, Recurring | Level 3 | Forward sale contracts |  |
ASSETS |  |
Derivative financial assets | $ 4 |
LIABILITIES |  |
Derivative financial liabilities |  | $ 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: |