XML 50 R40.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Loans and Allowance for Credit Losses - Amortized Cost of Loans to Borrowers, Modified (Details) - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Mar. 31, 2024 | Mar. 31, 2023
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified in period | $ 833 | $ 16,702
% of Portfolio Segment | 0.01% | 0.23%
Term Extension |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified in period | $ 833 | $ 16,506
Term Extension and Interest Rate Reduction |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified in period | 0 | 196
Commercial Loans | Commercial real estate |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified in period | $ 833 | $ 15,849
% of Portfolio Segment | 0.03% | 0.63%
Commercial Loans | Commercial real estate | Term Extension |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified in period | $ 833 | $ 15,849
Commercial Loans | Commercial real estate | Term Extension and Interest Rate Reduction |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified in period | $ 0 | 0
Commercial Loans | Commercial and industrial |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified in period |  | $ 594
% of Portfolio Segment |  | 0.04%
Commercial Loans | Commercial and industrial | Term Extension |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified in period |  | $ 594
Commercial Loans | Commercial and industrial | Term Extension and Interest Rate Reduction |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified in period |  | 0
Consumer Loans | Consumer real estate |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified in period |  | $ 259
% of Portfolio Segment |  | 0.02%
Consumer Loans | Consumer real estate | Term Extension |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified in period |  | $ 63
Consumer Loans | Consumer real estate | Term Extension and Interest Rate Reduction |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified in period |  | $ 196

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 Percentage, excluding accrued interest, of financing receivable modified during period for debtor experiencing financial difficulty to total financing receivables. + 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_FinancingReceivableModificationToTotalFinancingReceivablesExcludingAccruedInterestPercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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
- 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_ExtendedMaturityAndInterestRateReductionMember
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_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: |