A mystery-solving pup would approve.