XML 99 R87.htm IDEA: XBRL DOCUMENT
v3.22.4

Right-Of-Use Assets and Lease Liabilities - Narrative (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($) lease director | Dec. 31, 2021 USD ($) | Dec. 31, 2020 USD ($)
Lessee, Lease, Description [Line Items] |  |  |
Number of lease contracts | 47 |  |
Number of operating lease agreements | 45 |  |
Number of financing leases | 2 |  |
Operating lease expense | $ | $ 5,169 | $ 5,135 | $ 5,711
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 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 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 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 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 https://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
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=stba_RelatedPartyLeaseAgreementWithSTDirectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |