I wouldn't say she was smarter than any adult in town - she was good at sleuthing and lying, but often relyed on the expertise of friends. There was a ton of luck involved, too.
Also, I'll echo that it wasn't insane idiocy. He accused the wrong man of murder, but that man was hiding important...