XML 103 R91.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Right-Of-Use Assets and Lease Liabilities - Narrative (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 USD ($) director lease | Dec. 31, 2020 USD ($) lease | Dec. 31, 2019 USD ($)
Lessee, Lease, Description [Line Items] |  |  |
Number of lease contracts | lease | 48 |  |
Number of operating lease agreements | lease | 45 |  |
Number of financing leases | lease | 3 |  |
Operating lease expense | $ 5,135 | $ 5,711 | $ 4,221
Number of new leases | lease | 1 |  |
Increase (decrease) in operating lease liability | $ 3,000 |  |
Increase (decrease) in operating lease liability, right of use assets | 3,000 |  |
Number of operating leases considered abandoned | lease |  | 2 |
Reduction (increase) of right-of-use asset value |  | $ 500 |
Right-of-use asset value after reduction |  | 0 |
Reduction of operating lease liability |  | 200 |
Expense recognized from lease abandonment | $ 300 |  |
Related party, lease with S&T Director |  |  |
Lessee, Lease, Description [Line Items] |  |  |
Number of directors | director | 1 |  |
Operating lease expense | $ 200 | $ 200 | $ 200

X
- Definition Increase (Decrease) in Operating Lease Liability, Right Of Use Assets + References No definition available. + Details
Name: | stba_IncreaseDecreaseInOperatingLeaseLiabilityRightOfUseAssets
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Lessee, Finance Leases, Number Of Lease Agreements + References No definition available. + Details
Name: | stba_LesseeFinanceLeasesNumberOfLeaseAgreements
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Lessee, Number Of Leases + References No definition available. + Details
Name: | stba_LesseeNumberOfLeases
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Lessee, Operating Lease, Number Of Leases Considered Abandoned + References No definition available. + Details
Name: | stba_LesseeOperatingLeaseNumberOfLeasesConsideredAbandoned
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Lessee, Operating Lease, Number Of New Leases + References No definition available. + Details
Name: | stba_LesseeOperatingLeaseNumberOfNewLeases
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Lessee, Operating Leases, Number Of Lease Agreements + References No definition available. + Details
Name: | stba_LesseeOperatingLeasesNumberOfLeaseAgreements
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Operating Lease, Expense From Lease Abandonment + References No definition available. + Details
Name: | stba_OperatingLeaseExpenseFromLeaseAbandonment
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Operating Lease, Liability, Decrease Due To Abandonment + References No definition available. + Details
Name: | stba_OperatingLeaseLiabilityDecreaseDueToAbandonment
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Operating Lease, Right-Of-Use Asset, After Impairment From Lease Abandonment + References No definition available. + Details
Name: | stba_OperatingLeaseRightOfUseAssetAfterImpairmentFromLeaseAbandonment
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Related Party Transaction, Number of Related Parties + References No definition available. + Details
Name: | stba_RelatedPartyTransactionNumberofRelatedParties
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of increase (decrease) in obligation for operating lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (g)(1) -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInOperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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_LesseeLeaseDescriptionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of operating lease expense. Excludes sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123391704&loc=SL77918638-209977 + Details
Name: | us-gaap_OperatingLeaseExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of loss from impairment of right-of-use asset from operating lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 25 -Paragraph 6 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123399704&loc=SL77918431-209957 + Details
Name: | us-gaap_OperatingLeaseImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=stba_RelatedPartyLeaseAgreementWithSTDirectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |