Prep Time 20 minutes mins
Cook Time 45 minutes mins
Resting Time 10 minutes mins
Total Time 1 hour hr 15 minutes mins
For the best texture, roast the squash until just fork-tender so it holds its shape in the casserole and doesn’t turn mushy. If using frozen spinach, thaw and squeeze very dry to avoid excess moisture; you can also add an extra tablespoon of Parmesan to absorb any remaining liquid. Swap ricotta with cottage cheese for more protein, or use all Greek yogurt for a lighter version. Add cooked quinoa, farro, or shredded rotisserie chicken to make it heartier, and feel free to season with sage instead of thyme to complement the squash. The casserole can be assembled a day ahead, covered, and refrigerated; add 10 to 15 minutes to the baking time if starting cold. Leftovers keep 3 to 4 days refrigerated and reheat well at 350°F, covered.