SVG logo not loading in NC 22

In Nextcloud 22, when I upload an SVG logo, it displays as blank in the Theming section and on the login page. In Chrome inspector, I can see the “logo?v=45” being requested with a status code 200, but the SVG does not even load in the Chrome preview window. All I see is the URL of my Nextcloud instance with the following appended to it “…/apps/theming/image/logo?v=45”.