XML 52 R42.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Loans and Allowance for Credit Losses - Summary of Aging Analysis of Modifications (Details) - USD ($) $ in Thousands | Jun. 30, 2024 | Jun. 30, 2023
--- | --- | ---
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | $ 25,834 | $ 23,604
Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 25,834 | 23,604
30-59 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
60-89 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
90+ Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Commercial Loans | Commercial real estate |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 4,188 | 14,932
Commercial Loans | Commercial real estate | Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 4,188 | 14,932
Commercial Loans | Commercial real estate | 30-59 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Commercial Loans | Commercial real estate | 60-89 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Commercial Loans | Commercial real estate | 90+ Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Commercial Loans | Commercial and industrial |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 21,429 | 5,762
Commercial Loans | Commercial and industrial | Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 21,429 | 5,762
Commercial Loans | Commercial and industrial | 30-59 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Commercial Loans | Commercial and industrial | 60-89 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Commercial Loans | Commercial and industrial | 90+ Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Commercial Loans | Commercial construction |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months |  | 1,621
Commercial Loans | Commercial construction | Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months |  | 1,621
Commercial Loans | Commercial construction | 30-59 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months |  | 0
Commercial Loans | Commercial construction | 60-89 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months |  | 0
Commercial Loans | Commercial construction | 90+ Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months |  | 0
Business banking |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 110 | 1,033
Business banking | Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 110 | 1,033
Business banking | 30-59 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Business banking | 60-89 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Business banking | 90+ Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Consumer Loans | Consumer real estate |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 107 | 256
Consumer Loans | Consumer real estate | Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 107 | 256
Consumer Loans | Consumer real estate | 30-59 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Consumer Loans | Consumer real estate | 60-89 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Consumer Loans | Consumer real estate | 90+ Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | $ 0
Consumer Loans | Other consumer |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 |
Consumer Loans | Other consumer | Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 |
Consumer Loans | Other consumer | 30-59 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 |
Consumer Loans | Other consumer | 60-89 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 |
Consumer Loans | Other consumer | 90+ Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | $ 0 |

X
- Definition Amortized cost excluding accrued interest, of financing receivable 12 months after modification for debtor experiencing financial difficulty. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-42 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPast12Months
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 34 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-34 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 33 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-33 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 12A -Publisher FASB -URI https://asc.fasb.org/1943274/2147481933/310-10-55-12A Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-42 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-42 + Details
Name: | us-gaap_FinancingReceivableModificationsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancingReceivablesPeriodPastDueAxis=us-gaap_FinancialAssetNotPastDueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentPerformanceStatusAxis=us-gaap_PerformingFinancingReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablesPeriodPastDueAxis=us-gaap_FinancingReceivables30To59DaysPastDueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablesPeriodPastDueAxis=us-gaap_FinancingReceivables60To89DaysPastDueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablesPeriodPastDueAxis=us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_CommercialRealEstateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=stba_CommercialAndIndustrialMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_ConstructionLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=stba_BusinessBankingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ConsumerPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=stba_ConsumerRealEstateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_ConsumerOtherMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |