XML 125 R112.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Long-Term Borrowings and Subordinated Debt - Key Terms of Junior Subordinated Debt Securities (Details) - USD ($) $ in Thousands | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Junior Subordinated Debentures [Line Items] |  |  |
Long-term borrowings | $ 49,358 | $ 54,453 | $ 54,393
Interest Rate at December 31, 2023 | 4.52% | 2.61% | 1.94%
Junior subordinated debt |  |  |
Junior Subordinated Debentures [Line Items] |  |  |
Long-term borrowings | $ 25,000 | $ 25,000 | $ 25,000
2006 Junior Subordinated Debt | Junior subordinated debt |  |  |
Junior Subordinated Debentures [Line Items] |  |  |
Long-term borrowings | $ 25,000 |  |
Regulatory Capital | Tier 2 |  |
Interest Rate at December 31, 2023 | 7.25% |  |
2006 Junior Subordinated Debt | Junior subordinated debt | SOFR |  |  |
Junior Subordinated Debentures [Line Items] |  |  |
Interest Rate | 1.86% |  |

X
- Definition Junior Subordinated Debentures [Line Items] + References No definition available. + Details
Name: | stba_JuniorSubordinatedDebenturesLineItems
Namespace Prefix: | stba_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Regulatory capital. + References No definition available. + Details
Name: | stba_RegulatoryCapital
Namespace Prefix: | stba_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying value as of the balance sheet date of long-term debt (with maturities initially due after one year or beyond the operating cycle if longer) identified as Junior Subordinated Notes, which have a lower priority than senior instruments, excluding current portion. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_JuniorSubordinatedLongTermNotes
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Weighted average interest rate of long-term debt outstanding calculated at point in time. + References No definition available. + Details
Name: | us-gaap_LongtermDebtWeightedAverageInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_JuniorSubordinatedDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=stba_A2006JuniorSubordinatedDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=stba_SecuredOvernightFinancingRateSOFRMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |