I’ve seen a lot lately, and confirmed by Brett Goldstein, that this show is a loose adaptation of The Wizard of Oz and the very first episode should have clued us in.

I just started another rewatch, my first one since seeing the connection. In the first episode when they take a detour with Ollie, the cab driver, Ted very plainly says “well beard, we’re not in Kansas anymore.”