(idiomatic) investigative researchExample: We did some detective work and found out that the water was getting in through a cracked pipe.