Woocommerce customer logout, by default, appears on the ‘My account’ page. You can add a logout button in your navigation menu using the Woocommerce hooks, but what if you want a logout button only, instead of whole menu? Like in the image below
This would be better for the user interface because users will have a dedicated logout button at the top, or anywhere you like!
So you added a ‘heading’ or an ‘icon’ using Elementor and placed the Woocommerce logout hook in the link. But, it might not work, and might take you to some other page, rather than signing out.