XML 79 R67.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Fair Value Measurements - Assets Measured at Fair Value on Nonrecurring Basis by Significant Unobservable Inputs (Details) - Fair Value, Measurements, Nonrecurring | Dec. 31, 2021 USD ($) | Dec. 31, 2020 USD ($)
--- | --- | ---
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Liabilities measured at fair value on nonrecurring basis | $ 0 | $ 0
Level 3 |  |
ASSETS |  |
Total Assets | 17,015,000 | 70,448,000
Collateral method | Level 3 |  |
ASSETS |  |
Loans individually evaluated | 16,004,000 | 64,286,000
Other real estate owned | 1,011,000 | 600,000
Loans held for sale | 0 | 586,000
Discounted cash flow method | Level 3 |  |
ASSETS |  |
Loans individually evaluated | 16,004,000 |
Mortgage servicing rights | $ 0 | $ 4,976,000
Appraisal adjustment | Collateral method | Level 3 |  |
ASSETS |  |
Other real estate owned, measurement input | 0.0253 | 0.2180
Minimum | Appraisal adjustment | Collateral method | Level 3 |  |
ASSETS |  |
Loans held for investment, measurement input | 0 | 0
Minimum | Discount rate | Discounted cash flow method | Level 3 |  |
ASSETS |  |
Loans held for investment, measurement input | 0.10 | 0
Mortgage servicing rights, measurement input |  | 0.0924
Minimum | Constant prepayment rates | Discounted cash flow method | Level 3 |  |
ASSETS |  |
Mortgage servicing rights, measurement input |  | 0.0882
Maximum | Appraisal adjustment | Collateral method | Level 3 |  |
ASSETS |  |
Loans held for investment, measurement input | 0.20 | 0.12
Maximum | Discount rate | Discounted cash flow method | Level 3 |  |
ASSETS |  |
Loans held for investment, measurement input | 0.19 | 0
Mortgage servicing rights, measurement input |  | 0.1255
Maximum | Constant prepayment rates | Discounted cash flow method | Level 3 |  |
ASSETS |  |
Mortgage servicing rights, measurement input |  | 0.1458
Weighted Average | Appraisal adjustment | Collateral method | Level 3 |  |
ASSETS |  |
Loans held for investment, measurement input | 0.0448 | 0.0770
Other real estate owned, measurement input | 0.0253 | 0.2180
Weighted Average | Discount rate | Discounted cash flow method | Level 3 |  |
ASSETS |  |
Loans held for investment, measurement input | 0.1046 | 0
Mortgage servicing rights, measurement input |  | 0.0942
Weighted Average | Constant prepayment rates | Discounted cash flow method | Level 3 |  |
ASSETS |  |
Mortgage servicing rights, measurement input |  | 0.1337

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 http://asc.fasb.org/extlink&oid=123874694&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 http://asc.fasb.org/extlink&oid=123874694&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 loans held-for-sale including, but not limited to, mortgage loans and finance receivables. + References No definition available. + Details
Name: | us-gaap_LoansHeldForSaleFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 http://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 http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 + Details
Name: | us-gaap_OtherRealEstateOwnedMeasurementInput
Namespace Prefix: | us-gaap_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value of an asset representing net future revenue from contractually specified servicing fees, late charges, and other ancillary revenues, in excess of future costs related to servicing arrangements. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 50 -Section 45 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6469459&loc=d3e122501-111745 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 50 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6469459&loc=d3e122492-111745 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 50 -Section 50 -Paragraph 3 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 50 -Section 45 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6469459&loc=d3e122501-111745 + Details
Name: | us-gaap_ServicingAssetAtFairValueAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Value of input used to measure servicing asset. + 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 http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 + Details
Name: | us-gaap_ServicingAssetMeasurementInput
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_ValuationTechniqueAxis=us-gaap_ValuationTechniqueDiscountedCashFlowMember
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: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputDiscountRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputConstantPrepaymentRateMember
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: |