XML 102 R90.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Allowance for Credit Losses - Narrative (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Financing Receivable, Allowance for Credit Loss [Line Items] |  |
Credit loss, expense (reversal), period increase (decrease) | $ 115,900 |
Provision for credit losses on loans | 15,494 | $ 131,421
CARES Act, Paycheck Protection Program Loans | COVID-19 |  |
Financing Receivable, Allowance for Credit Loss [Line Items] |  |
Financing receivable, after allowance for credit loss |  | $ 465,000
CARES Act, Paycheck Protection Program Loans | Commercial |  |
Financing Receivable, Allowance for Credit Loss [Line Items] |  |
Financing receivable, after allowance for credit loss | $ 88,300 |

X
- Definition Financing Receivable, Credit Loss, Expense (Reversal), Period Increase (Decrease) + References No definition available. + Details
Name: | stba_FinancingReceivableCreditLossExpenseReversalPeriodIncreaseDecrease
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Amount, after allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(3)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522 + Details
Name: | us-gaap_NotesReceivableNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of credit loss expense (reversal of expense) for financing receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(11)) -URI http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 + Details
Name: | us-gaap_ProvisionForLoanLossesExpensed
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=stba_PaycheckProtectionProgramLoanCARESActMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_UnusualOrInfrequentItemAxis=stba_COVID19Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |