XML 116 R104.htm IDEA: XBRL DOCUMENT
v3.22.4

Deposits - Composition of Deposits and Interest Expenses (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Time Deposits [Line Items] |  |  |
Balance | $ 7,219,970 | $ 7,996,524 | $ 7,420,538
Interest Expense | 19,907 | 10,757 | 35,986
Noninterest-bearing demand |  |  |
Time Deposits [Line Items] |  |  |
Balance | 2,588,692 | 2,748,586 | 2,261,994
Interest Expense | 0 | 0 | 0
Interest-bearing demand |  |  |
Time Deposits [Line Items] |  |  |
Balance | 846,653 | 979,133 | 864,510
Interest Expense | 1,025 | 809 | 2,681
Money market |  |  |
Time Deposits [Line Items] |  |  |
Balance | 1,731,521 | 2,070,579 | 1,937,063
Interest Expense | 11,948 | 3,652 | 11,645
Savings |  |  |
Time Deposits [Line Items] |  |  |
Balance | 1,118,511 | 1,110,155 | 969,508
Interest Expense | 1,121 | 366 | 972
Certificates of deposit |  |  |
Time Deposits [Line Items] |  |  |
Balance | 934,593 | 1,088,071 | 1,387,463
Interest Expense | $ 5,813 | $ 5,930 | $ 20,688

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

X
- Definition The aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, Negotiable Order of Withdrawal (NOW) and time deposits among others. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.12) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + Details
Name: | us-gaap_Deposits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Aggregate amount of interest expense on all deposits. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.6) -URI https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 + Details
Name: | us-gaap_InterestExpenseDeposits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=stba_NonInterestBearingDepositsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_InterestBearingDepositsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=stba_SavingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CertificatesOfDepositMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |