On a 1-mile walking tour of New York City, a group had to take a detour that was 100 yards shorter than half the distance of the tour. The detour is how many yards long?

Thanks!