XML 72 R60.htm IDEA: XBRL DOCUMENT
v3.22.4

Summary of Significant Accounting Policies - Narrative (Details) | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($) subsidiary entity reporting_unit
Summary of Significant Accounting Policies [Line Items] |
Number of wholly owned subsidiaries | subsidiary | 5
Number of entities non-banking activities | entity | 6
Prior period reclassification adjustment | $ | $ 0
Period for satisfactory payment of TDRs | 6 months
Threshold for evaluation for expected credit loss of commercial loans | $ | $ 1,000,000
Number of reporting units | reporting_unit | 1
Number of wholly owned trust subsidiaries | subsidiary | 3
Minimum | Core Deposits And Customers Lists |
Summary of Significant Accounting Policies [Line Items] |
Weighted average estimated useful of acquired intangibles | 10 years
Maximum |
Summary of Significant Accounting Policies [Line Items] |
Amortization period of investments in joint ventures | 10 years
Maximum | Core Deposits And Customers Lists |
Summary of Significant Accounting Policies [Line Items] |
Weighted average estimated useful of acquired intangibles | 20 years
Corporate Joint Venture | Common Wealth Trust Life Insurance Company | CTCLIC |
Summary of Significant Accounting Policies [Line Items] |
Percentage of outstanding common stock of investees accounted for using equity method of accounting | 50.00%
Interest rate lock commitments |
Summary of Significant Accounting Policies [Line Items] |
Period for interest rate lock commitment | 60 days

X
- Definition Minimum Amount Over Which Evaluation For Expected Credit Loss Of Commercial Loans Are Made + References No definition available. + Details
Name: | stba_MinimumAmountOverWhichEvaluationForExpectedCreditLossOfCommercialLoansAreMade
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Minimum period used for satisfactory payment performance under condition. + References No definition available. + Details
Name: | stba_MinimumPeriodUsedForSatisfactoryPaymentPerformanceUnderCondition
Namespace Prefix: | stba_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of subsidiaries acquired through business combination. + References No definition available. + Details
Name: | stba_NumberOfSubsidiaries
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Trust Subsidiaries + References No definition available. + Details
Name: | stba_NumberOfTrustSubsidiaries
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of Entities Non-Banking Activities + References No definition available. + Details
Name: | stba_NumberofEntitiesNonBankingActivities
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Summary Of Significant Accounting Policies [Line Items] + References No definition available. + Details
Name: | stba_SummaryOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | stba_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average amortization period of finite-lived intangible assets acquired either individually or as part of a group of assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (a)(3) -URI https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275 + Details
Name: | us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period covered by the long-term purchase commitment, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_LongtermPurchaseCommitmentPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of reporting units tested for impairment of goodwill. A reporting unit is an operating segment or one level below an operating segment. + References No definition available. + Details
Name: | us-gaap_NumberOfReportingUnits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of a reclassification adjustment made to prior period financial statement amounts. + References No definition available. + Details
Name: | us-gaap_PriorPeriodReclassificationAdjustment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=stba_CoreDepositsAndCustomersListsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CorporateJointVentureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_OwnershipAxis=stba_CommonWealthTrustLifeInsuranceCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_InterestRateLockCommitmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |