Thinly slice the top of the squash with a mandolin. Set aside. Cut the bottom in half, remove the seeds and slice thinly. On the square of puff pastry, place the half slices, overlapping. Continue with the remaining slices so as to cover the entire surface. Brush with the butter. Season with salt and pepper.