I've yet to see a definition of gender that isn't based on restrictive and harmful sex stereotypes, or is circular and empty. It's not a helpful concept.