FYI:
https://www.akitio.com/faq/356-are-all-usb-c-cables-the-same
What other audio, video, and peripheral ports are available on laptop/docking station and desktop?
Do you plan to stay with just the Odyssey G7 monitor or perhaps evolve to a dual monitor system? (Just trying to think ahead a bit.
)
Here is a link to a simplified diagram (not an endorsement or recommendation):
https://www.aliexpress.com/item/32910539090.html
Left side of the diagram being the common components shared by laptop and desktop but still in need of webcam, speakers. What about a printer?
Right side of the diagram would be your desktop but the second desktop would actually be your laptop or perhaps the host docking station with the laptop docked.
The video is nice (pretty music) but greatly over-simplified with respect to your requirements and do note the rapid increase in wires (not really shown thereafter).
I would actually start by using a manual swapping process to move shared peripherals from laptop to desktop and vice versa. At least the keyboard, video, mouse.
Extension cables can be quite helpful and make the swaps easier if you find yourself having to stretch and reach to make connections.
Plus you will end up knowing exactly what cables/plugs will work between laptop/docking station and desktop to the shared peripherals.
Get the laptop to work, for example. Then swap to desktop and get that to work. Map/draw out/list the connections being swapped as a simple SOP.
Work out bugs and issues. If and as some particular part of the swapping process is truly proven as cumbersome then you will be much more ready to identify a suitable KVM that will fulfill the requirements based on your swapping experience and what you learned from doing so.
Frankly (full disclosure), as a matter of practice, I would avoid entangling personal and work hardware. All the more so if the laptop is also going back and forth between home and a work location. That alone can can invoke any number of issues....
Maybe just purchase an inexpensive keyboard and mouse for the docking station at home. Plug in just the monitor and network cable as needed. Add a webcam if the laptop's webcam cannot be directly used. Ask work: they may be able to provide some extra peripherals.
Much to be said for simplicity.... Good news is that you do have a number of options just experiment for awhile to see how things go.
As you can see/read just thinking about it all gets cumbersome. Implementation likely costly on top of that.