How do I remove the menu bar icon associated with an app without deleting the app? (macOS Catalina)
Bartender will let you organize and hide icons on your menu bar. This is probably the best-known solution.

Another alternative that you might want to check out is Vanilla.

I use Bartender and highly recommend it, but it’s worth downloading both and checking them both out.

Before you ask, no, there is no way to do this without 3rd party software, unless that feature is added by the developer.