After winning a soccer game, the coach took the team out for ice cream cones. He spent $21 on 12 single-scoop ice cream cones. If all the ice cream cones cost the same amount, what was the cost of one ice cream cone?