v3.26.1
Document And Entity Information
3 Months Ended
Mar. 31, 2026
Document Information [Line Items]  
Document Type S-3
Entity Registrant Name MainStreet Bancshares, Inc.
Entity Incorporation, State or Country Code VA
Entity Tax Identification Number 81-2871064
Entity Address, Address Line One 10089 Fairfax Boulevard
Entity Address, City or Town Fairfax
Entity Address, State or Province VA
Entity Address, Postal Zip Code 22030
City Area Code 703
Local Phone Number 481-4567
Entity Filer Category Accelerated Filer
Entity Small Business true
Entity Emerging Growth Company false
Entity Central Index Key 0001693577
Document Fiscal Year Focus 2026
Document Fiscal Period Focus Q1
Amendment Flag false