Trademarks and logos are not attached to the software license. The Linux kernel has a trademark page (https://www.linuxfoundation.org/legal/the-linux-mark) which is separated from the gplv2 license. Python has their own trademark page (https://www.python.org/psf/trademarks/) which is separated from the bsd-like python license that the python software use. Take any major free software project and they will likely have a trademark legal page detailing what is or isn't allowed, which will be separated from the software license. Neither the free software foundation nor Open Source Initiative provide trademark under same terms as the software license. FSF specifically has the following statement:
"While our software is available under a free and open source software license, the copyright license does not include an implied right or license to use our trademark" (https://static.fsf.org/nosvn/licensing/2020/ModelTrademarkGu...)
OSI also has a guide for their trademarks (https://opensource.org/trademark-guidelines), which limits how people and company uses wordmarks and icons. OSI says in their introduction:
"In fact, the law obligates trademark owners to police their marks and prevent the use of confusingly similar names by third parties"
Last, there are historical examples where non-profits that produce free software, that being Mozilla, was in a trademark conflict with Debian, a project based on free software. The Debian–Mozilla trademark dispute resulted in Firefox, licensed under gpl, being renamed Iceweasel with a new icon that replaced the original icon that is owned by Mozilla. (https://en.wikipedia.org/wiki/Debian%E2%80%93Mozilla_tradema...) That 10 years dispute ended in 2016.