At the 2012 Summer Olympics, Detti competed in the men's 1500 metre freestyle, finishing in 13th place overall in the heats, failing to qualify for the final. At the 2016 Summer Olympics, he won a bronze medal in the men's 400 metre freestyle as well as a bronze medal in the men's 1500 metre freestyle, race won by teammate Gregorio Paltrinieri.