Roast the corn (grill, oven, skillet, or air fryer) until lightly charred, then let cool slightly and cut the kernels off the cob.
Add the corn to a large bowl with the cherry tomatoes, cucumbers, and red onion.
In a small bowl or jar, whisk the olive oil, lime juice, maple syrup, salt, and pepper.
Pour the dressing over the salad and toss gently to combine.
Fold in the diced avocado, taste and adjust the salt and lime, then serve.