> I'm confused by your use of "Sherlock" as a pejorative.
It's not a pejorative, it's sarcasm. You could replace "Sherlock" with "This genius" in that sentence for essentially same effect.
I'm not really sure why, but for some reason "Sherlock" has become very common to use in a sarcastic context like that. Kinda like how "fat chance" and "slim chance" now mean basically the same thing due to "fat chance" almost always being used sarcastically.