XML 55 R46.htm IDEA: XBRL DOCUMENT
v3.23.2

Loans and Allowance for Credit Losses - Nonperforming Assets (Details) - USD ($) $ in Thousands | Jun. 30, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | ---
Nonperforming Assets |  |  |
Nonaccrual Loans | $ 14,319 | $ 19,052 | $ 66,291
OREO | 3,666 | 3,065 |
Total Nonperforming Assets | $ 17,985 | $ 22,117 |

X
- Definition Net nonperforming assets. + References No definition available. + Details
Name: | stba_NetNonperformingAssets
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Nonperforming assets. + References No definition available. + Details
Name: | stba_NonperformingAssetsAbstract
Namespace Prefix: | stba_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amortized cost of financing receivable on nonaccrual status. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 16 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-16 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1405 -Paragraph (a) -Subparagraph (3) -Publisher SEC Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1405 -Paragraph (a) -Subparagraph (2) -Publisher SEC Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-7 + Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Carrying amount of other real estate not separately disclosed, including, but not limited to, real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. This does not include real estate assets taken in settlement of troubled loans through surrender or foreclosure. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.10(4)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 + Details
Name: | us-gaap_OtherRealEstate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant