With its visible and infrared photography, Euclid—known as the “dark universe detective”—is helping astronomers better understand dark matter and dark energy