Updated: Sep 23, 2020
Adapted from NYT
4 small, multicolored tomatoes, such as heirloom, kumato or Campari, sliced crosswise 1/4-inch thick or 2.5 cups of cherry or grape tomatoes, halved
Kosher salt and black pepper
1 sheet packaged puff pastry, thawed (about 7 ounces)
3 tablespoons sour cream
¼ small red onion or shallot, cut very thinly sliced or 2 cup thinly sliced scallions
¾ cup fresh ricotta (home made: 2 cups whole milk, 1/2 cup heavy cream, lemon juice and salt, cheese cloth or thick paper towels)
1/2 cup Pesto store bought or home made (2 cups basil, 2 garlic cloves, 1/4 cup olive oil, 1/3 cup grated parmesan cheese, toasted pine nuts or pumpkin seeds)
Extra-virgin olive oil, for drizzling
Fresh basil leaves, for garnish (optional)
Line a large baking sheet with paper towels. Set the sliced tomatoes on top in a single layer. In a small bowl, combine 1 teaspoon salt and 1 teaspoon pepper. Use it to season the tomatoes evenly on both sides, cover with another paper towel and let sit, 15 minutes, allowing the salt to draw moisture out of the tomatoes.
As the tomatoes sit, heat the oven to 400 degrees and set a rack in the middle of the oven. Working on a large sheet of parchment paper, roll out the puff pastry into a 9-by-11-inch rectangle, trimming any uneven edges. Prick the inside with a fork every few inches, leaving a 1/2-inch border. Using a pastry brush, coat the center of the puff pastry with the sour cream, leaving the border unbrushed.
Working within the border, layer the tomatoes and red onion on top of the tart, allowing them to overlap slightly. Transfer to a sheet pan and bake, rotating halfway through, until puff pastry is browned and puffed, 25 to 30 minutes.
Sprinkle tomatoes with pepper, if using. Dollop with fresh ricotta. Thin pesto with olive oil until it reaches the proper consistency for drizzling; drizzle on top of tart to taste. Top with basil, if using, and serve warm or at room temperature.