01 - Preheat the oven to 400°F and line a baking sheet with parchment paper.
02 - Toss butternut squash cubes with 2 tablespoons olive oil, 1/2 teaspoon salt, and 1/4 teaspoon black pepper, then spread evenly on the prepared baking sheet.
03 - Roast the squash for 25 to 30 minutes, turning once halfway through, until golden and tender. Allow to cool slightly.
04 - While the squash roasts, toast pecan halves in a dry skillet over medium heat for 3 to 4 minutes until fragrant, then set aside.
05 - In a small bowl, whisk together olive oil, balsamic vinegar, maple syrup, Dijon mustard, salt, and pepper until emulsified.
06 - In a large bowl, combine mixed greens, roasted squash, sliced red onion, toasted pecans, and feta cheese if using.
07 - Drizzle the dressing over the salad and gently toss to combine. Serve immediately.