On a computer, you can log out of your account by mousing over the My Account next to the search box at the top of any page, and then clicking Log Out.
On mobile, click the button with the three lines in the top left corner to open the menu, scroll all the way down to the bottom, and click Log Out.