Description
Describe the bug
Setting any image as a brand logo makes it like a quarter of the size of the default authentik one
To Reproduce
Steps to reproduce the behavior:
- download slack logo from here (or literally any image, but that's what I used for this test)
- upload it to /media/public/brand_logo.svg. ensure you have /media mounted in docker compose file.
- make a new brand (or edit the existing/default one) to use that path as the brand logo. make sure it's domain is set such that it's the active brand.
- refresh webpage
- look at top left of admin interface
Issue seems unrelated to specific image, I tried a dozen different images formatted as svg, png, and jpeg and they all had the same issue.
Expected behavior
Brand image the same size as the default authentik one
Screenshots
expected behavior (top left of admin interface)
actual behavior (also from top left of admin panel)

The same thing happens on the login page, though it doesn't appear to be scaled as differently


and also on the user interface page


Logs
Output of docker-compose logs or kubectl logs respectively
{"event":"/media/public/brand_logo.svg","host":"auth.mydomain.com","level":"info","logger":"authentik.router","method":"GET","remote":"my_ip_addr","runtime":"0.377","scheme":"https","size":0,"status":304,"timestamp":"2025-05-24T01:47:13Z","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Safari/605.1.15"}
Version and Deployment (please complete the following information):
- authentik version: 2025.4.1
- Deployment: docker-compose