XML 135 R123.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Income Taxes - Narrative (Details) - USD ($) $ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Schedule Of Income Taxes [Line Items] |  |
Valuation allowance related to gross deferred tax assets | $ 5,565 | $ 5,489
Deferred tax assets, net operating loss carry forwards | 55,700 |
Tax assessment from 2016 to 2018 | 100 |
PENNSYLVANIA |  |
Schedule Of Income Taxes [Line Items] |  |
Valuation allowance related to gross deferred tax assets | $ 5,500 | $ 5,500

X
- Definition Schedule Of Income Taxes [Line Items] + References No definition available. + Details
Name: | stba_ScheduleOfIncomeTaxesLineItems
Namespace Prefix: | stba_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32632-109319 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32621-109319 + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319 + Details
Name: | us-gaap_DeferredTaxAssetsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of the additional liability or refund received or expected based on a final settlement with a taxing authority. + References No definition available. + Details
Name: | us-gaap_IncomeTaxExaminationLiabilityRefundAdjustmentFromSettlementWithTaxingAuthority
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_IncomeTaxAuthorityNameAxis=stpr_PA
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |