Yes, it's tight. To see how you'll connect, check out
http://www.easycdg.com/1/passenger-i...inal-2f-to-2e/
The minimum time is 25 minutes.
But if you're on one ticket, it might not end up a massive disaster. Not sure where your final destination is, but there are oodles of later flights across the pond you could be rebooked on to get you to DTW with an extra stop. (3 different flights to JFK, 1 to ATL, 1 to BOS, and 1 to LHR)