sleuth

A person who carefully investigates and solves mysteries or crimes.