it means "you got it perfectly right", "did a great job"
It seems to be becoming more and more common in recent years.
I've heard it on TV shows like "masterchef" or some of the talent shows, when a contestant does really well, the judge might say "you nailed it".