But there 's something about Wallander 's base of operations -- Ystad , Sweden , a small Baltic seaside town near Malmo -- that colors him gloomy and adds a satisfyingly gray touch to the mysteries he investigates .