XML 63 R50.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Commitments and Contingencies (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2023
Commitments and Contingencies Disclosure [Abstract] |
Schedule of Commitments and Letters of Credit | The following table sets forth our commitments and letters of credit as of the dates presented:
(dollars in thousands) | December 31, 2023 |  | December 31, 2022
Commitments to extend credit |  | $ | 2,566,154 |  |  |  | $ | 2,713,586 |
Standby letters of credit |  | 61,889 |  |  |  | 64,356 |
Total |  | $ | 2,628,043 |  |  |  | $ | 2,777,942 |
Allowance for Credit Loss for Unfunded Loan Commitments | The following table presents activity in the allowance for credit losses on unfunded loan commitments for the periods presented:
|  |  | Twelve months ended December 31,
(dollars in thousands) |  |  |  |  | 2023 |  | 2022
Balance at beginning of period |  |  |  |  |  |  |  | $ | 8,196 |  |  |  | $ | 5,189 |
Provision for credit losses |  |  |  |  |  |  |  | (1,348) |  |  |  | 3,007 |
Total |  |  |  |  |  |  |  | $ | 6,848 |  |  |  | $ | 8,196 |

X
- Definition Commitments and Letters of Credit [Table Text Block] + References No definition available. + Details
Name: | stba_CommitmentsAndLettersOfCreditTableTextBlock
Namespace Prefix: | stba_
Data Type: | dtr-types1:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Off Balance Sheet Liability, Allowance For Credit Loss + References No definition available. + Details
Name: | stba_OffBalanceSheetLiabilityAllowanceForCreditLossTableTextBlock
Namespace Prefix: | stba_
Data Type: | dtr-types1:textBlockItemType
Balance Type: | na
Period Type: | duration

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