Grilled Scallops Alla Caprese

2 pounds mixed heirloom tomatoes, cut into wedges or bite-size pieces
24 fresh basil leaves
2 medium red onions, cut into 1-inch thick slices
Kosher salt and freshly ground black pepper to taste
6 tablespoons extra virgin olive oil
1 1/2 pounds large fresh dry scallops
1 lemon, cut in half

Preheat a gas or charcoal grill with a piazza or large cast iron griddle inside, or heat the griddle on a stovetop (see note). Place the red onion slices on the hot surface without oil and season the top with salt. Cook until soft and charred, 5-7 minutes. Flip, season second side, and cook until second side is charred.

Meanwhile, place tomatoes in a large mixing bowl and tear the basil leaves over them. Once the onions have cooked and cooled slightly, separate into rings and scatter over the tomatoes. Drizzle with 4 tablespoons olive oil and season to taste with salt and pepper. Lay tomato mixture on a platter.

Carefully carve a checkerboard pattern into one side of each scallop (about 1/4-inch deep) and toss them with salt, pepper, and remaining 2 tablespoons olive oil. Preheat cooking surface until very hot, then cook the scallops, design-side-down, until golden and almost cooked through, 5-7 minutes. Flip and cook for just 30 seconds on the second side, then remove from the heat. Arrange on tomato salad, squeeze the lemon halves over everything, and top with flaky sea salt. Serve immediately.