The idiom is "fair and square". I think it is a degree higher than "quite fair" which implies that it isn't completely fair. I don't think "squarely" as an adverb is used very often, if at all.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.