Code can be open source while the name and logos are copyrighted and still enforceable via DMCA
EDIT: e.g. https://www.mozilla.org/en-US/foundation/trademarks/policy/
You're correct I was overly broad about the actual name use being DMCA-able though.
Now, projects might choose to license their logo permissively, but that's an active choice.