Combine the vinegar, sugar and 1/2 teaspoon salt in a small saucepan and bring to a simmer over medium heat, stirring until the sugar dissolves, about 2 minutes.
Place the sliced red onion in a heatproof jar or bowl and pour the hot brine over it.
Let the onions sit in the brine at room temperature for at least 15 minutes, until they turn bright pink and taste tangy rather than sharp and raw.
While the onions pickle, toast the spelt sourdough slices in a toaster until golden, about 3 minutes.
Halve the avocado, scoop into a bowl, and mash with the lime juice and a pinch of salt until mostly smooth.
Spread the mash over the toast.
Drain the pickled onions and scatter them over the avocado, then top with the toasted pepitas and queso fresco if using.
Good to Know
Make a full jar of pickled onions at once; they keep in the fridge for 2 weeks and work on sandwiches, tacos and salads too.