XML 55 R45.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Loans and Allowance for Credit Losses - Loan Balances by Year of Origination and Performing and Nonperforming Status (Details) - USD ($) $ in Thousands | Jun. 30, 2024 | Dec. 31, 2023
--- | --- | ---
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | $ 307,409 | $ 1,117,436
Year two | 1,160,151 | 1,320,936
Year three | 1,289,981 | 1,094,225
Year four | 1,029,790 | 503,703
Year five | 469,249 | 645,502
More than five years | 2,144,757 | 1,650,211
Revolving | 1,279,143 | 1,292,135
Revolving-Term | 33,090 | 29,193
Total | 7,713,570 | 7,653,341
Accrual |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 307,409 | 1,117,436
Year two | 1,159,541 | 1,320,560
Year three | 1,288,416 | 1,094,056
Year four | 1,029,442 | 502,950
Year five | 468,366 | 640,393
More than five years | 2,119,958 | 1,635,979
Revolving | 1,274,369 | 1,291,683
Revolving-Term | 31,212 | 27,337
Total | 7,678,713 | 7,630,394
Nonaccrual |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 0 | 0
Year two | 610 | 376
Year three | 1,565 | 169
Year four | 348 | 753
Year five | 883 | 5,109
More than five years | 24,799 | 14,232
Revolving | 4,774 | 452
Revolving-Term | 1,878 | 1,856
Total | 34,857 | 22,947
Commercial Loans | Commercial real estate |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 48,148 | 276,677
Year two | 278,373 | 324,469
Year three | 373,948 | 439,308
Year four | 451,757 | 240,256
Year five | 222,926 | 419,371
More than five years | 1,266,748 | 926,636
Revolving | 30,627 | 32,418
Revolving-Term | 0 | 0
Total | 2,672,527 | 2,659,135
Commercial Loans | Commercial real estate | Accrual |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 48,148 | 276,677
Year two | 278,373 | 324,469
Year three | 372,954 | 439,308
Year four | 451,757 | 240,256
Year five | 222,926 | 419,371
More than five years | 1,253,370 | 920,316
Revolving | 30,627 | 32,418
Revolving-Term | 0 | 0
Total | 2,658,155 | 2,652,815
Commercial Loans | Commercial real estate | Nonaccrual |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 0 | 0
Year two | 0 | 0
Year three | 994 | 0
Year four | 0 | 0
Year five | 0 | 0
More than five years | 13,378 | 6,320
Revolving | 0 | 0
Revolving-Term | 0 | 0
Total | 14,372 | 6,320
Commercial Loans | Commercial and industrial |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 33,977 | 171,861
Year two | 177,447 | 231,978
Year three | 220,542 | 210,636
Year four | 178,820 | 54,696
Year five | 48,888 | 52,858
More than five years | 236,343 | 193,905
Revolving | 525,938 | 520,249
Revolving-Term | 0 | 0
Total | 1,421,955 | 1,436,183
Commercial Loans | Commercial and industrial | Accrual |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 33,977 | 171,861
Year two | 177,317 | 231,978
Year three | 220,542 | 210,636
Year four | 178,477 | 54,696
Year five | 48,888 | 52,858
More than five years | 236,335 | 193,257
Revolving | 521,687 | 520,019
Revolving-Term | 0 | 0
Total | 1,417,223 | 1,435,305
Commercial Loans | Commercial and industrial | Nonaccrual |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 0 | 0
Year two | 130 | 0
Year three | 0 | 0
Year four | 343 | 0
Year five | 0 | 0
More than five years | 8 | 648
Revolving | 4,251 | 230
Revolving-Term | 0 | 0
Total | 4,732 | 878
Commercial Loans | Commercial construction |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 31,952 | 75,596
Year two | 110,187 | 154,456
Year three | 124,661 | 82,313
Year four | 67,115 | 14,845
Year five | 14,490 | 4,727
More than five years | 8,850 | 4,438
Revolving | 10,432 | 14,208
Revolving-Term | 0 | 0
Total | 367,687 | 350,583
Commercial Loans | Commercial construction | Accrual |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 31,952 | 75,596
Year two | 110,187 | 154,456
Year three | 124,661 | 82,313
Year four | 67,115 | 14,845
Year five | 14,490 | 151
More than five years | 3,890 | 4,054
Revolving | 10,432 | 14,208
Revolving-Term | 0 | 0
Total | 362,727 | 345,623
Commercial Loans | Commercial construction | Nonaccrual |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 0 | 0
Year two | 0 | 0
Year three | 0 | 0
Year four | 0 | 0
Year five | 0 | 4,576
More than five years | 4,960 | 384
Revolving | 0 | 0
Revolving-Term | 0 | 0
Total | 4,960 | 4,960
Commercial Loans | Business banking |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 77,648 | 270,129
Year two | 250,347 | 262,606
Year three | 232,655 | 207,611
Year four | 185,121 | 88,018
Year five | 81,831 | 99,574
More than five years | 386,719 | 334,766
Revolving | 92,819 | 96,754
Revolving-Term | 1,845 | 1,307
Total | 1,308,985 | 1,360,765
Commercial Loans | Business banking | Accrual |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 77,648 | 270,129
Year two | 250,347 | 262,606
Year three | 232,460 | 207,611
Year four | 185,121 | 87,979
Year five | 81,697 | 99,354
More than five years | 383,427 | 330,902
Revolving | 92,819 | 96,754
Revolving-Term | 1,810 | 1,283
Total | 1,305,329 | 1,356,618
Commercial Loans | Business banking | Nonaccrual |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 0 | 0
Year two | 0 | 0
Year three | 195 | 0
Year four | 0 | 39
Year five | 134 | 220
More than five years | 3,292 | 3,864
Revolving | 0 | 0
Revolving-Term | 35 | 24
Total | 3,656 | 4,147
Consumer Loans | Consumer real estate |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 110,596 | 311,887
Year two | 335,218 | 335,462
Year three | 328,746 | 147,850
Year four | 142,185 | 102,041
Year five | 98,454 | 67,890
More than five years | 245,129 | 189,794
Revolving | 552,467 | 552,080
Revolving-Term | 26,961 | 24,774
Total | 1,839,756 | 1,731,778
Consumer Loans | Consumer real estate | Accrual |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 110,596 | 311,887
Year two | 334,745 | 335,086
Year three | 328,370 | 147,689
Year four | 142,185 | 101,518
Year five | 97,774 | 67,577
More than five years | 242,117 | 186,909
Revolving | 551,944 | 551,858
Revolving-Term | 25,118 | 22,942
Total | 1,832,849 | 1,725,466
Consumer Loans | Consumer real estate | Nonaccrual |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 0 | 0
Year two | 473 | 376
Year three | 376 | 161
Year four | 0 | 523
Year five | 680 | 313
More than five years | 3,012 | 2,885
Revolving | 523 | 222
Revolving-Term | 1,843 | 1,832
Total | 6,907 | 6,312
Consumer Loans | Other consumer |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 5,088 | 11,286
Year two | 8,579 | 11,965
Year three | 9,429 | 6,507
Year four | 4,792 | 3,847
Year five | 2,660 | 1,082
More than five years | 968 | 672
Revolving | 66,860 | 76,426
Revolving-Term | 4,284 | 3,112
Total | 102,660 | 114,897
Consumer Loans | Other consumer | Accrual |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 5,088 | 11,286
Year two | 8,572 | 11,965
Year three | 9,429 | 6,499
Year four | 4,787 | 3,656
Year five | 2,591 | 1,082
More than five years | 819 | 541
Revolving | 66,860 | 76,426
Revolving-Term | 4,284 | 3,112
Total | 102,430 | 114,567
Consumer Loans | Other consumer | Nonaccrual |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Current fiscal year | 0 | 0
Year two | 7 | 0
Year three | 0 | 8
Year four | 5 | 191
Year five | 69 | 0
More than five years | 149 | 131
Revolving | 0 | 0
Revolving-Term | 0 | 0
Total | $ 230 | $ 330

X
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, of financing receivable. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479344/326-20-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-5 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated more than five years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable that can be withdrawn, repaid, and redrawn. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestRevolving
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of revolving financing receivable converted to term loan. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6A -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6A Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated four years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated three years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated in current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated two years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest of financing receivable originated in fiscal year prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear
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 29 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-29 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-5 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 + Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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: |

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_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=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: |