XML 77 R63.htm IDEA: XBRL DOCUMENT
v3.26.1

Share Repurchase Plan - Schedule of Repurchase Activity (Details) - USD ($) | 3 Months Ended | 6 Months Ended |  |
--- | --- | --- | --- | ---
Jun. 30, 2026 | Jun. 30, 2025 | Jun. 30, 2026 | Jun. 30, 2025 | Mar. 31, 2026 | Mar. 31, 2025
Equity [Abstract] |  |  |  |  |  |
Value of shares authorized to repurchase | $ 100,000,000 | $ 50,000,000 | $ 100,000,000 | $ 50,000,000 | $ 100,000,000 | $ 50,000,000
Average share price for the period (in dollars per share) | $ 44.24 | $ 0 | $ 43.75 | $ 0 |  |
Total share cost of repurchases | $ 47,557,000 | $ 0 | $ 97,178,000 | $ 0 |  |
Share Repurchase Program, Remaining Authorized Rollforward [Roll Forward] |  |  |  |  |  |
Remaining plan capacity at the beginning of the period | $ 50,379,000 | $ 0 | $ 100,000,000 | $ 0 |  |
Total shares repurchased (in shares) | 1,074,924 | 0 | 2,221,024 | 0 |  |
Remaining plan capacity at the end of the period | $ 2,822,000 | $ 50,000,000 | $ 2,822,000 | $ 50,000,000 |  |

X
- Definition Amount authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 505 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481520/505-30-50-4 + Details
Name: | srt_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | srt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Share Repurchase Program, Remaining Authorized Rollforward + References No definition available. + Details
Name: | stba_ShareRepurchaseProgramRemainingAuthorizedRollforwardRollForward
Namespace Prefix: | stba_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Treasury Stock, Repurchase, Average Cost Per Share, Excluding Tax And Commissions + References No definition available. + Details
Name: | stba_TreasuryStockRepurchaseAverageCostPerShareExcludingTaxAndCommissions
Namespace Prefix: | stba_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Treasury Stock, Value, Acquired, Cost Method, Excluding Excise Tax And Commissions + References No definition available. + Details
Name: | stba_TreasuryStockValueAcquiredCostMethodExcludingExciseTaxAndCommissions
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_EquityAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount remaining authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 505 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481520/505-30-50-4 + Details
Name: | us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of shares that have been repurchased during the period and are being held in treasury. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480070/505-10-S50-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480100/505-10-S45-3 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477657/942-210-S45-1 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478478/942-210-S50-1 Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(20)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 8: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(19)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 9: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_TreasuryStockSharesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration