Ballotpedia has looked at partisan races held on November 2, 2021, and has identified two state legislative races, and three for local office in New York state, where a minor party nominee polled more votes than the margin between the Republican and the Democratic nominees. See the list here. One legislative race was in New Jersey and one was in Virginia.
EQUAL ballot access
PR
APPV
TOTSOP
Glad to see the Libertarian candidate in Virginia, Charles West, do well. Kudos to him for his interest and energy.