If your team site is connected with a Microsoft 365 group, when you click the display name of the site collection, it will show a pop-up window with this Microsoft group information.
It's a default behavior in the SharePoint. There is no method to hide group information.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.