Minor spoilers below for Dig, streaming November 23 on Peacock.

Dig is a gem of a TV show, even if it takes a while to pull it from the ground. The new workplace comedy from Amy Poehler and Mike Schur, who previously worked together on the long-running sitcom Parks and Recreation, takes standard issue office hijinx, moves them to a sun-drenched European locale, and weaves in a propulsive mystery that Agatha Christie would be proud of.

Poehler stars as Elise, the prickly but loveable site manager of an archaeological dig site in Greece. Elise spends her days searching for buried antiquities, wrangling a cadre of horny, fumbling students, and keeping tabs on her pompous dinosaur of a boss, played by Hugh Laurie with a sense of comedic melancholy.

When Elise is passed over for a promotion after dig leader Neville (Laurie) decides to stick around for another year, she promptly stumbles upon a one-of-a-kind buried artifact and draws a group of colleagues into a web of secrets and mysteries. It’s a shame it takes a while for the show to get rolling because, once it does, it’s thrilling and hilarious.

All 10 episodes of Dig premiere at once on Peacock. The binge drop is nothing new but, for this show in particular, is a lifesaver. The first few episodes are funny enough, but often drag to the point of being boring. The action starts in medias res, with Elise and three of her colleagues — ditzy Patty (Fina Strazza), prim Clare (Antonia Thomas), and vivacious Dylan (Geraldine Viswanathan) — caught in a slapstick brawl involving biting, punching, someone getting shot in the leg, and a character falling into a giant pit. (What’s up with Mike Schur, Amy Poehler, and people falling into fictional pits?) But when we flash back several weeks to the main timeline of the show, things slow down substantially.

We spend several episodes introducing a wide cast of characters, the myriad ins and outs of archaeology and dig sites, and the various dramatic backstories and relationships of each of our main characters. We find out Dylan left Elise hanging years prior when the two wanted to start their own dig together while Clare is engaged to her perfectly fine colleague Randy (Jon Pointing) but longs for something more. Patty is a naive farm girl seeing the world for the first time. All of this setup is necessary for any show to be truly durable, but the first several episodes of Dig risk forsaking an engaging plot by spending too much time meandering through the characters’ histories.

Thank God for the theft.

Halfway through the season, Dig hits the accelerator and doesn’t look back until the finale’s credits cut to black. The buried artifact Elise found — and promptly shared with only a select group of colleagues — is stolen and the show kicks into high gear with double crosses, character development, and farce. The show’s central mystery — Who stole the artifact and where is it? — allows the writers to throw their characters in numerous, high-pressure situations (Infiltrating a fancy party! A walk of shame in front of a hook-up’s scolding mother! A road full of sheep!) that both propel the plot forward and dig deeper into what makes those characters tick.

As Elise, Poehler plays against type as a weary, often grumpy midlevel site manager. She still serves plenty of one-liners and uses her immense acting chops and top-tier timing to weave together the show’s comedic and dramatic elements. It’s miles away from the sunny, hyper-driven Leslie Knope, but it’s still a marvelous performance. It can be jarring to see Poehler, known for her laugh-out-loud performances across movies and TV, play what amounts to the straight man here, but she translates Elise’s frustrations, longing for the top job, and drive into a fully drawn character.

Poehler’s zag allows for three of her main co-stars to alternate driving the show’s more laugh-out-loud moments. As Dylan, Viswanathan takes the role that Poehler would have played 20 years ago: a bawdy party girl who came back to the dig to get back at her ex-boyfriend and wears ballcaps with crude language while dining out. Thomas’s Clare is a counterweight: proper, intelligent, and striving to prove to her rich, controlling mother that she can be her own woman. Which brings us to Patty.

As the naive, cornfed graduate assistant who’s brand new to the dig site, Fina Strazza’s breakout character is both endearing and lights-out hilarious. From delivering ditzy one-liners to playing a scene against a talking scorpion to runs of incredible physical comedy (there’s a bit with a water bottle and a tube of sunscreen that I can’t get out of my head), Strazza propels what could be a one-dimensional character into a scene-stealing performance.

Once they establish their relationship dynamics, Poehler, Viswanathan, Thomas, and Strazza are unstoppable together. They create a solid core of characters with shifting loyalties that the writers constantly pick apart and reshuffle to great effect.

The cast is rounded out by a who’s who of Schur-verse standbys. Jason Mantzoukas shows up as a dig site looter. Mo Collins is hilarious as someone Patty meets in a hot tub. Rashida Jones even cameos. It’s a palette Schur has played with before to great effect in shows like Parks and Recreation, The Good Place, and a stint on the American version of The Office. But what Dig has that those shows don’t is a sense of adventure and genre inventiveness.

The sun-drenched Grecian locale (which, let’s face it, is obviously a CGI’d Southern California for the most part) is almost irrelevant, which is odd to consider given the show’s reliance on archaeology and history as its central theme. While the distinct outdoor nature of the show does make it stand out against more standard sitcom fare, the skill with which the cast and creators of Dig eventually blend both comedy and thrills would make it a must-watch show if it was set in a strip mall parking lot.

It’s also nice to have a show like Dig be unafraid of actually moving the story along. Once the plot gets going, storylines are deftly planted, executed, and resolved. There are no drawn-out will-they-won’t-they relationships. Characters are free to be multidimensional with motivations rooted in moral gray areas. Poehler herself drops more f-bombs throughout the season than you’d ever have expected.

It all amounts to a show that’s both familiar and inventive. The pop culture references, puns, and sarcastic asides that are foundational to every Mike Schur sitcom are still there. A motley cast of characters gets themselves into more jams than you can possibly count. Characters pair off in scene after scene, creating in-universe in-jokes that circle back episodes later. But Dig also takes the classic half-hour TV comedy and breathes some life into the format by inserting some great thrills and mystery. While it takes way too long to kick into gear, I’m hopeful that the back half of Dig’s first batch of episodes portends a full-throttle Season 2.