XML 68 R59.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Share Repurchase Plan - Narrative (Details) - USD ($) | Sep. 30, 2022 | Mar. 21, 2022 | Sep. 30, 2021
--- | --- | --- | ---
Equity, Class of Treasury Stock [Line Items] |  |  |
Stock repurchase program, authorized amount | $ 50,000,000 |  | $ 50,000,000
New Share Repurchase Plan |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |
Stock repurchase program, authorized amount |  | $ 50,000,000 |

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

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=stba_NewShareRepurchasePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |