The code you post doesn’t have the link that points to the old site.
The code you need to change can be found in the page’s source if you press Ctrl+U in your browser:
<p><a title="Ассоциация репетиторов" href="https://repetit.moscow/"><img class="pull-left" src="/images/logo.png" alt="" /></a></p>
The href in that code should have been pointing to the root of the site, like:
href="/", and then this problem would never be when the site was moved.
You have an admin panel where you can edit the page, edit the logo to dynamically point to the root of the site it is on:
href="/" points to the root index file of the site it is on. It is called dynamic because it doesn’t contain the domain in the URL, it only points to the root of current domain.
Compare the logo image src
src="/images/logo.png" that is dynamically pointing to a folder named images in the root of the site.
The same but fix image src would have been: