XML 136 R124.htm IDEA: XBRL DOCUMENT
v3.22.4

Employee Benefits - Narrative (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Defined Benefit Plan Disclosure [Line Items] |  |  |
Number of consecutive years of employee's compensation | 5 years |  |
Number of total years of employee's compensation | 10 years |  |
Service cost | $ 0 |  |
Accumulated benefit obligation | $ 73,400,000 | $ 104,100,000 |
Thrift Plan |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Contributions to the Thrift Plan | 3.50% |  |
Compensation expense | $ 2,500,000 | $ 2,400,000 | $ 2,400,000
Equities and alternatives | Minimum |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Targeted asset allocation percentage | 5.00% |  |
Equities and alternatives | Maximum |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Targeted asset allocation percentage | 15.00% |  |
Fixed income | Minimum |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Targeted asset allocation percentage | 85.00% |  |
Fixed income | Maximum |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Targeted asset allocation percentage | 95.00% |  |

X
- Definition Number Of Consecutive Periods Of Highest Compensation Used To Determine Defined Benefit Pension Plan Benefits + References No definition available. + Details
Name: | stba_NumberOfConsecutivePeriodsOfHighestCompensationUsedToDetermineDefinedBenefitPensionPlanBenefits
Namespace Prefix: | stba_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Periods Used To Determine Defined Benefit Pension Plan Benefits + References No definition available. + Details
Name: | stba_NumberOfPeriodsUsedToDetermineDefinedBenefitPensionPlanBenefits
Namespace Prefix: | stba_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of actuarial present value of benefits attributed to employee service rendered, excluding assumptions about future compensation level. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (e) -URI https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation
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 No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of target investment allocation to total plan assets. Includes, but is not limited to, percentage on weighted-average basis if more than one plan. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 55 -Paragraph 17 -URI https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (d)(i) -URI https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of cost for actuarial present value of benefits attributed to service rendered by employee for defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (h)(1) -URI https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 55 -Paragraph 17 -URI https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 6 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 55 -Paragraph 18 -URI https://asc.fasb.org/extlink&oid=123450688&loc=d3e4587-114921 + Details
Name: | us-gaap_DefinedBenefitPlanServiceCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expense for employee benefit and equity-based compensation. + References No definition available. + Details
Name: | us-gaap_EmployeeBenefitsAndShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_PlanNameAxis=stba_ThriftPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_DefinedBenefitPlanEquitySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
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_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_FixedIncomeFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |