v3.26.1
Schedule of Assets (Details) - SBA Defined Contribution Plan for Primis Bank - USD ($)
12 Months Ended
Dec. 31, 2025
Dec. 31, 2024
EBP, Schedule of Asset Held for Investment [Line Items]    
Entity Tax Identification Number 20-2453966  
EBP, Plan Number 002  
EBP, Asset Held for Investment, Party-in-Interest [true false] true  
EBP, Asset Held for Investment, Participant Loan, after Deemed Distribution $ 911,901  
EBP, Investment, Number of Shares 104,855 101,503
EBP, Asset Held for Investment $ 53,729,627  
Minimum    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Asset Held for Investment, Participant Loan, Interest Rate 3.50%  
Maximum    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Asset Held for Investment, Participant Loan, Interest Rate 8.75%  
Investment, Identifier [Axis]: American Funds, EuroPacific Growth Fund, Mutual funds    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:AmericanFundsMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:EuropacificGrowthFundMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 490,975  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Cohen amp; Steers, Real Estate Securities Fund, Mutual funds    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:CohenSteersMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:RealEstateSecuritiesFundMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 272,913  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: DFA, Emerging Markets Core Equity Fund, Mutual funds    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:DfaMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:EmergingMarketsCoreEquityFundMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 409,220  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Fidelity, 500 Index Fund, Mutual funds    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:FidelityMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:Index500FundMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 3,479,821  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Fidelity, Extended Market Index Fund, Mutual funds    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:FidelityMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:ExtendedMarketIndexFundMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 193,686  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Fidelity, Total International Index Fund, Mutual funds    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:FidelityMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:TotalInternationalIndexFundMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 376,309  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Fidelity, U.S. Bond Index Fund, Mutual funds    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:FidelityMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:U.s.BondIndexFundMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 457,654  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Goldman Sachs, Stable Value Fund, Common collective trust    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:GoldmanSachsMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] Stable Value Fund [Member]  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 3,136,972  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: JP Morgan, Mid-Cap Growth Fund, Mutual funds    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:JPMorganMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:MidCapGrowthFundMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 751,776  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: PIMCO, RAE US Small Fund Institutional Class, Mutual funds    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:PIMCOMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:RaeUsSmallFundInstitutionalClassMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 311,925  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: PIMCO, Real Return Fund, Mutual funds    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:PIMCOMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:RealReturnFundMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 276,864  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Primis, Common stock    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:PrimisMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] EBP, Employer, Common Stock [Member]  
EBP, Asset Held for Investment, Party-in-Interest [true false] true  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 1,512,347  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
EBP, Investment, Number of Shares 104,855  
Investment, Identifier [Axis]: Vanguard, Equity Income Fund, Mutual funds    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VanguardMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:EquityIncomeFundMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 1,634,645  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Vanguard, Institutional Target Retirement Income Trust II, Common collective trust    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VanguardMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:InstitutionalTargetRetirementIncomeTrustIiFundMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 2,285,489  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Vanguard, Target Retirement 2020 Trust II, Common collective trust    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VanguardMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:TargetRetirement2020TrustIIMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 617,700  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Vanguard, Target Retirement 2025 Trust II, Common collective trust    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VanguardMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:TargetRetirement2025TrustIiMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 4,869,107  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Vanguard, Target Retirement 2030 Trust II, Common collective trust    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VanguardMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:TargetRetirement2030TrustIiMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 4,622,426  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Vanguard, Target Retirement 2035 Trust II, Common collective trust    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VanguardMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:TargetRetirement2035TrustIiMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 5,139,023  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Vanguard, Target Retirement 2040 Trust II, Common collective trust    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VanguardMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:TargetRetirement2040TrustIiMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 4,294,851  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Vanguard, Target Retirement 2045 Trust II, Common collective trust    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VanguardMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:TargetRetirement2045TrustIiMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 6,016,916  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Vanguard, Target Retirement 2050 Trust II, Common collective trust    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VanguardMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:TargetRetirement2050TrustIiMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 3,745,442  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Vanguard, Target Retirement 2055 Trust II, Common collective trust    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VanguardMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:TargetRetirement2055TrustIiMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 1,845,540  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Vanguard, Target Retirement 2060 Trust II, Common collective trust    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VanguardMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:TargetRetirement2060TrustIiMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 1,416,086  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Vanguard, Target Retirement 2065 Trust II, Common collective trust    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VanguardMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:TargetRetirement2065TrustIiMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 464,372  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Vanguard, Target Retirement 2070 Trust II, Common collective trust    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VanguardMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:TargetRetirement2070TrustIiMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 103,914  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Victory, Mid-Cap Value Fund, Mutual funds    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VictoryMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:MidCapValueFundMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 452,135  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Voya, Intermediate Bond Fund, Mutual funds    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VoyaMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:IntermediateBondFundMember  
EBP, Asset Held for Investment, Party-in-Interest [true false] true  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 586,187  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Voya, Money market fund    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:VoyaMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] Money Market Funds [Member]  
EBP, Asset Held for Investment, Party-in-Interest [true false] true  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 33,993  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Wasatch, Core Growth CIT A, Common collective trust    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:WasatchMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:EmergingMarketsCoreEquityFundMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 452,781  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember  
Investment, Identifier [Axis]: Wilmington MFS, Growth Fund, Common collective trust    
EBP, Schedule of Asset Held for Investment [Line Items]    
EBP, Investment, Issuer Name [Extensible Enumeration] frst:WilmingtonMFSMember  
EBP, Investment, Current Value, Type [Extensible Enumeration] frst:GrowthFundMember  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value $ 2,566,657  
EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration] us-gaap-ebp:EmployeeBenefitPlanParticipantDirectedMember