XML 54 R45.htm IDEA: XBRL DOCUMENT
v3.23.2

Loans and Allowance for Credit Losses - Restructured Loans by Type of Concession (Details) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2023 USD ($) loan | Jun. 30, 2022 USD ($) loan | Jun. 30, 2023 USD ($) loan | Jun. 30, 2022 USD ($) loan
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Number of Contracts | loan | 0 | 9 | 0 | 16
Post-Modification Outstanding Recorded Investment | $ 9,133 | $ 427 | $ 23,604 | $ 1,930
Pre-Modification Outstanding Recorded Investment |  | 432 |  | 2,360
Bankruptcy |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 288 |  | 1,046
Other |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Extend Maturity |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment | 9,133 | 139 | 23,410 | 884
Modify Rate |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Modify Payments |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | $ 0 |  | $ 0
Commercial real estate | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Number of Contracts | loan |  | 0 |  | 0
Post-Modification Outstanding Recorded Investment | 1,286 | $ 0 | 14,932 | $ 0
Pre-Modification Outstanding Recorded Investment |  | 0 |  | 0
Commercial real estate | Bankruptcy | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Commercial real estate | Other | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Commercial real estate | Extend Maturity | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment | 1,286 | 0 | 14,932 | 0
Commercial real estate | Modify Rate | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Commercial real estate | Modify Payments | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | $ 0 |  | $ 0
Commercial and industrial | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Number of Contracts | loan |  | 0 |  | 0
Post-Modification Outstanding Recorded Investment | 5,193 | $ 0 | 5,762 | $ 0
Pre-Modification Outstanding Recorded Investment |  | 0 |  | 0
Commercial and industrial | Bankruptcy | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Commercial and industrial | Other | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Commercial and industrial | Extend Maturity | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment | 5,193 | 0 | 5,762 | 0
Commercial and industrial | Modify Rate | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Commercial and industrial | Modify Payments | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | $ 0 |  | $ 0
Commercial construction | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Number of Contracts | loan |  | 0 |  | 0
Post-Modification Outstanding Recorded Investment | 1,621 | $ 0 | 1,621 | $ 0
Pre-Modification Outstanding Recorded Investment |  | 0 |  | 0
Commercial construction | Bankruptcy | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Commercial construction | Other | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Commercial construction | Extend Maturity | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment | 1,621 | 0 | 1,621 | 0
Commercial construction | Modify Rate | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Commercial construction | Modify Payments | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | $ 0 |  | $ 0
Business banking | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Number of Contracts | loan |  | 0 |  | 0
Post-Modification Outstanding Recorded Investment |  | $ 0 |  | $ 0
Pre-Modification Outstanding Recorded Investment |  | 0 |  | 0
Business banking | Bankruptcy | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Business banking | Other | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Business banking | Extend Maturity | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Business banking | Modify Rate | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Business banking | Modify Payments | Commercial Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | $ 0 |  | $ 0
Consumer real estate | Consumer Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Number of Contracts | loan |  | 8 |  | 15
Post-Modification Outstanding Recorded Investment | 0 | $ 425 | 256 | $ 1,927
Pre-Modification Outstanding Recorded Investment |  | 429 |  | 2,357
Consumer real estate | Bankruptcy | Consumer Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 286 |  | 1,043
Consumer real estate | Other | Consumer Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Consumer real estate | Extend Maturity | Consumer Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment | $ 0 | 139 | $ 62 | 884
Consumer real estate | Modify Rate | Consumer Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Consumer real estate | Modify Payments | Consumer Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | $ 0 |  | $ 0
Other consumer | Consumer Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Number of Contracts | loan |  | 1 |  | 1
Post-Modification Outstanding Recorded Investment |  | $ 2 |  | $ 3
Pre-Modification Outstanding Recorded Investment |  | 3 |  | 3
Other consumer | Bankruptcy | Consumer Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 2 |  | 3
Other consumer | Other | Consumer Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Other consumer | Extend Maturity | Consumer Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Other consumer | Modify Rate | Consumer Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | 0 |  | 0
Other consumer | Modify Payments | Consumer Loans |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Post-Modification Outstanding Recorded Investment |  | $ 0 |  | $ 0

X
- Definition Amortized cost excluding accrued interest, 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 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 Number of financing receivables that have been modified by troubled debt restructurings. + References Reference 1: 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_FinancingReceivableModificationsNumberOfContracts2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before troubled debt restructuring, of financing receivable to be modified. + References Reference 1: 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_FinancingReceivableModificationsPreModificationRecordedInvestment2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_LoanRestructuringModificationAxis=us-gaap_PrincipalForgivenessMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LoanRestructuringModificationAxis=stba_OtherLoanModificationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LoanRestructuringModificationAxis=us-gaap_ExtendedMaturityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LoanRestructuringModificationAxis=us-gaap_ContractualInterestRateReductionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LoanRestructuringModificationAxis=us-gaap_PaymentDeferralMember
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_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: |