XML 39 R30.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Fair Value Measurements - Assets Measured at Fair Value on Nonrecurring Basis by Significant Unobservable Inputs (Details) - Fair Value, Measurements, Nonrecurring | Sep. 30, 2022 USD ($) | Dec. 31, 2021 USD ($)
--- | --- | ---
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Liabilities measured at fair value on a nonrecurring basis | $ 0 | $ 0
Level 3 |  |
ASSETS |  |
Total Assets |  | 8,279,000
Collateral method | Level 3 |  |
ASSETS |  |
Loans individually evaluated |  | 7,268,000
Other real estate owned |  | $ 1,011,000
Appraisal adjustment | Collateral method | Level 3 |  |
ASSETS |  |
Other real estate owned, measurement input |  | 0.0253
Minimum | Appraisal adjustment | Collateral method | Level 3 |  |
ASSETS |  |
Loans held for investment, measurement input |  | 0
Maximum | Appraisal adjustment | Collateral method | Level 3 |  |
ASSETS |  |
Loans held for investment, measurement input |  | 0.20
Weighted Average | Appraisal adjustment | Collateral method | Level 3 |  |
ASSETS |  |
Loans held for investment, measurement input |  | 0.0448
Other real estate owned, measurement input |  | 0.0253

X
- Definition Loans Receivable, Measurement Input + References No definition available. + Details
Name: | stba_LoansReceivableMeasurementInput
Namespace Prefix: | stba_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Other real estate owned fair value disclosure. + References No definition available. + Details
Name: | stba_OtherRealEstateOwnedFairValueDisclosure
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Fair value of financial and nonfinancial obligations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_LiabilitiesFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value portion of loan receivable, including, but not limited to, mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -URI https://asc.fasb.org/subtopic&trid=2196772 + Details
Name: | us-gaap_LoansReceivableFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Value of input used to measure real estate owned by financial institution by financial institution which is not directly related to its business. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_OtherRealEstateOwnedMeasurementInput
Namespace Prefix: | us-gaap_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsNonrecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationTechniqueAxis=stba_ValuationTechniqueCollateralMethodMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputAppraisedValueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_WeightedAverageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |