One place I did some contract IT work used StarTech KVM switches and I liked them. https://www.startech.com/Server-Management/KVM-Switches/
I suggest looking through their product line for something that meets your needs. The prices listed on their direct order site is often quite a bit higher than from the distributors they deal with so shopping around can save some bucks. None of the KVM switches StarTech offers has USB-C ports, and very few KVM switches will. Get the Apple Digital AV multi-port adapter, or any of a number of similar "mini-docks" to break out the USB-C port on your MacBook into USB-A, HDMI, and USB-C/power. I just got this one today: https://eshop.macsales.com/item/OWC/TCDK5PRG/
It's cheap (and pink) but so far is working as advertised.
Personally I've tried a number of software KVM solutions and they don't seem to work all that well and I keep going back to my old KVMs. The KVMs I have use VGA for video but they work nicely. At some point I'll have to get something that uses HDMI or DP for video. One of my KVMs uses a big mechanical knob on the front to select the computer, I like it because there's no boot up time, no power needed, and switches quickly. Nobody makes switches like that any more, at least none I've seen. My other KVM uses keyboard macros to switch which is nice since my fingers never leave the keyboard. StarTech uses a similar keyboard macro switching on all the KVMs I've seen from them, and most also have buttons on the front to switch as well.
I'm not stuck on StarTech KVMs, they are simply the only one I've dealt with and are still in business. The others I've used are from companies that are long gone by now.
Again, I've used software KVM solutions but I've always found them inconvenient or lacking in some other way. They are fine for when the computer is in another room but if the computers are close enough to touch then a hardware KVM is hard to beat.