There's a utility app on macOS that I've used for years called Shush <
https://mizage.com/shush/ > that provides a global mic toggle (double tap to invert toggle to speak/mute).
Very nice because it works at OS level and is same no matter which app I'm using.