Biscotti means "twice baked" in Italian. First you form the crumbly dough into one stiff mass and bake it whole. Then you let it cool, slice it, and bake it again at a lower temperature. That’s what gives biscotti an almost crackerlike quality, which goes especially well with coffee. This triple-chocolate double-baked treat is dipped in a dark chocolate coating with sprinkles on top. Dip it in your coffee and then pop it in your mouth.
Preheat oven to 350 degrees. Line 2 baking sheets with parchment paper or silicone baking mats. In a large bowl, whisk flour, cocoa powder, baking soda, and salt. Using an electric mixer on low speed, beat in eggs for about 1 minute, until a crumbly dough forms.
In a separate large bowl, beat brown sugar with butter, extracts, and coffee until combined. Add sugar mixture to flour mixture and beat on low speed until a dough begins to form. It will not come together completely. Fold in chocolate chips and pistachios.
Turn out dough onto a lightly floured surface. Press dough together with your hands, forming it into one mass. Then divide it into 2 equal parts and form it into 2 logs. Place 1 log on each prepared baking sheet and press it with the palm of your hand to flatten to a width of about 3 inches.
Bake for 20 minutes, rotating the pans halfway through the baking time. Remove from oven and lower oven temperature to 250 degrees. Let dough rest on pans for 20 minutes. Dough will be slightly spongy to the touch, similar to a dense bread.
Transfer logs to a cutting board. Using a serrated knife, cut into ½-inch slices. Return the slices, cut side up, to the baking sheets. Bake for another 40 minutes. Transfer cookies to wire racks to cool.
Melt candy melts in a deep mug or bowl according to package directions. Dip cooled biscotti halfway in melted candy melts. Place on parchment paper and decorate with sprinkles.