XML 72 R58.htm IDEA: XBRL DOCUMENT
v3.26.1

Tax Credit Equity Investments - Schedule of Equity Investments and Net Benefit (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Jun. 30, 2026 | Jun. 30, 2025 | Jun. 30, 2026 | Jun. 30, 2025 | Dec. 31, 2025
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Tax credits and other tax benefits recognized | $ 1,493 | $ 1,388 | $ 2,986 | $ 2,776 |
Amortization | 1,189 | 1,231 | 2,377 | 2,462 |
Net benefit included in income tax expense | $ 304 | $ 157 | $ 609 | $ 314 |
Investment Program, Proportional Amortization Method, Elected, Income Tax Credit and Other Income Tax Benefit, before Amortization, Statement of Cash Flows [Extensible Enumeration] |  |  | Income Tax Expense (Benefit) |  |
Investment Proportional Amortization Method Elected Statement Of Financial Position Extensible Enumeration Not Disclosed Flag | Tax credit equity investment(1) |  | Tax credit equity investment(1) |  | Tax credit equity investment(1)
Other expense and tax credits [Extensible Enumeration] |  |  | Income Tax Expense (Benefit) |  |
Investment Program, Proportional Amortization Method, Applied, Amortization Expense, Statement of Cash Flows [Extensible Enumeration] |  |  | Income Tax Expense (Benefit) |  |
Investment Program, Proportional Amortization Method, Applied, Amortization Expense, Statement of Income or Comprehensive Income [Extensible Enumeration] |  |  | Income Tax Expense (Benefit) |  |
Low Income Housing Tax Credit |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Tax credit investment | $ 33,405 |  | $ 33,405 |  | $ 35,782
Unfunded commitments | $ 3,150 |  | $ 3,150 |  | $ 3,514

X
- Definition Investment Proportional Amortization Method Elected Statement Of Financial Position Extensible Enumeration Not Disclosed Flag + References No definition available. + Details
Name: | stba_InvestmentProportionalAmortizationMethodElectedStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag
Namespace Prefix: | stba_
Data Type: | xbrli:tokenItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount, before amortization expense, of income tax credit and other tax benefit generated by investment under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, investment under tax credit program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 323 -SubTopic 740 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/323-740-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_AffordableHousingTaxCreditsAndOtherTaxBenefitsAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of investment that generates income tax credit and other income tax benefit under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, investment under program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of amortization expense for investment that generates income tax credit and other income tax benefit under tax credit program accounted for using proportional amortization method. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Indicates line item in statement of cash flows that includes amortization expense for investment that generates income tax credit and other income tax benefit under tax credit program accounted for using proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_InvestmentProgramProportionalAmortizationMethodAppliedIncomeTaxCreditAndOtherTaxBenefitAmortizationStatementOfCashFlowsExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates line item in statement of income or comprehensive income that includes amortization expense for investment that generates income tax credit and other income tax benefit under tax credit program accounted for using proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_InvestmentProgramProportionalAmortizationMethodAppliedIncomeTaxCreditAndOtherTaxBenefitAmortizationStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates line item in statement of cash flows that includes income tax credit and other income tax benefit, before amortization expense, generated by investment under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, investment under tax credit program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_InvestmentProgramProportionalAmortizationMethodElectedIncomeTaxCreditAndOtherIncomeTaxBenefitBeforeAmortizationStatementOfCashFlowsExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates line item in statement of income or comprehensive income that includes income tax credit and other income tax benefit, before amortization expense, generated by investment under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, investment under tax credit program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_InvestmentProgramProportionalAmortizationMethodElectedIncomeTaxCreditAndOtherIncomeTaxBenefitBeforeAmortizationStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of other income tax benefit generated by investment under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, investment under tax credit program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_InvestmentProgramProportionalAmortizationMethodElectedOtherIncomeTaxBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of commitment and contingent commitment, including amount of delayed equity contribution, for investment that generates income tax credit and other income tax benefit under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, commitment and contingent commitment related to investment under tax credit program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-2 + Details
Name: | us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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://www.xbrl.org/2003/role/disclosureRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5A -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-5A Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481687/323-10-50-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 28 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-28 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481687/323-10-50-3 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481687/323-10-50-3 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481687/323-10-50-3 + Details
Name: | us-gaap_ScheduleOfEquityMethodInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=stba_LowIncomeHousingTaxCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |