XML 49 R40.htm IDEA: XBRL DOCUMENT
v3.23.1

Loans and Allowance for Credit Losses - Summary of Restructured Loans (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2022 | Dec. 31, 2022
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans | $ 1,878 |
Commercial real estate | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans | 0 |
Commercial and industrial | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans | 0 |
Commercial construction | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans | 0 |
Business banking | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans | 0 |
Consumer real estate | Consumer Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans | 1,878 |
Other consumer | Consumer Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans | $ 0 |
Total TDRs |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | $ 11,785
Total TDRs | Commercial real estate | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 0
Total TDRs | Commercial and industrial | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 626
Total TDRs | Commercial construction | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 1,655
Total TDRs | Business banking | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 1,525
Total TDRs | Consumer real estate | Consumer Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 7,966
Total TDRs | Other consumer | Consumer Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 13
Accruing TDRs |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 8,891
Accruing TDRs | Commercial real estate | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 0
Accruing TDRs | Commercial and industrial | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 626
Accruing TDRs | Commercial construction | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 1,655
Accruing TDRs | Business banking | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 438
Accruing TDRs | Consumer real estate | Consumer Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 6,168
Accruing TDRs | Other consumer | Consumer Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 4
Nonaccruing TDRs |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 2,894
Nonaccruing TDRs | Commercial real estate | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 0
Nonaccruing TDRs | Commercial and industrial | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 0
Nonaccruing TDRs | Commercial construction | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 0
Nonaccruing TDRs | Business banking | Commercial Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 1,087
Nonaccruing TDRs | Consumer real estate | Consumer Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | 1,798
Nonaccruing TDRs | Other consumer | Consumer Loans |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Restructured loans |  | $ 9

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://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 Reference 2: 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 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 33 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-33 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -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 + Details
Name: | us-gaap_FinancingReceivableModificationsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amortized cost of financing receivable modified during period 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)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-42 Reference 2: 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 3: http://www.xbrl.org/2009/role/commonPracticeRef -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 + Details
Name: | us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_CommercialRealEstateMember
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=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_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=stba_BusinessBankingMember
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_FinancingReceivablePortfolioSegmentAxis=us-gaap_ConsumerPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_FinancialInstrumentPerformanceStatusAxis=us-gaap_FinanceReceivablesMember
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_FinancialInstrumentPerformanceStatusAxis=us-gaap_NonperformingFinancingReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |