if I’m SWE… say if I want to think medium term about patenting…
I actually do have a "patent pending" at Meta, but I didn't really do much for it. This was handled almost completely by the lawyers, who drafted up the technology is complicated legal language, and then I just signed some docs along with the 3-4 other engineers on the patent.
My advice here is not to worry about patents -- they are almost never written by the actual engineer, and at a big company, patents are typically designed just as a protective measure against lawsuits.
I would certainly have the conversation with your manager -- perhaps there is a team or individual who has gotten patents that you could learn from? In general, trying to get a patent if there's not an existing culture for it at the company is very, very difficult (and, I'd argue, not really an indication of true technical progress).
I don't know much about patents, but here's my 2 cents: