Monterey 12.3
Just so I can be sure I'm not losing my mind, this is how it looks now on Monterey 12.3 and how it always looked for the few years I've used Alfred before.
You can see the caret is centered in the input field, no matter the font, and the text baseline is aligned correctly relative to the center.
--------
Ventura 13.0b2
This is how it looks now on macOS Ventura. It started appearing very recently and simply doesn't look right. In my opinion centering text in an input field is a completely different matter from respecting design choices of fonts when using them on a page, headline etc.
I just checked older Alfred versions until 4.3.4 on Ventura and the problem is still there, so it's definitely a change in AppKit (or SwiftUI if that is used by any chance), not a change in Alfred that caused this.
It's possible that a more recent Monterey update also introduced this change.
I'm reporting this just in case it can be fixed easily by adjusting something like NSAttributedString.baselineOffset