Preheat oven to 350°F (175°C). Line a baking sheet with parchment paper or a silicone liner.
Combine the flour, baking powder, and salt. Set aside.
Using an electric mixer on medium speed, beat the butter, sugar, and brown sugar until light and fluffy. Add the eggs, one at a time, mixing well after each addition. Mix in the vanilla.
Reduce the mixer speed to low. Gradually add the flour mixture, mixing just until combined.
Transfer the dough to the prepared pan. Shape the dough into a rectangle about 3 & 1/2" wide and 3/4" tall. The dough will be a bit sticky, so dust your fingertips with a bit of flour if necessary to help you shape it.
If desired, sprinkle with sanding sugar.
Bake for 25 minutes. Remove the pan from the oven and allow to cool for 10 minutes (or until it's cool enough to handle).
Use the parchment paper or liner to transfer the biscotti to a cutting board. Cut the biscotti into 3/4" crosswise slices.
Line the baking sheet with a fresh sheet of parchment paper or clean silicone liner. Place the biscotti, cut side down, onto the pan.
Bake 18 to 22 minutes, or until lightly browned. Cool on the pan for 10 minutes. Then transfer the cookies to a wire rack to cool completely.