The best and worst protein sources for the environment

Most people know beef is bad for the planet. But how does tofu compare to other plant protein sources, like almonds or beans?