This is probably not NanoVNA specific.
I made a quick and simple amplifier of leaded BF199 and some passive components. Collector is via a coil I happened to have. There is no matching. Input is calibrated with a 20dB attenuator.
Gain is 23dB but S11 looks strange in a Smith chart. Is this oscillation or just feedback from output.