A trademark is a name, and a logo is a symbol.
Trademark generally refers to the name of a company or product, while a logo uses a simple and interesting graphic to represent a company or product, or a logo for a product or company. A logo means a mark, and it does not necessarily mean a product mark. It can also be an organizational mark, a badge, a personal mark, etc.