You want to be about 5 feet away from a home, trees, bushes, etc. There really isn’t a set distance in the industry - it’s just a generally recommend distance.
I always tell our customers to check w/ their HOA’s and/or city or county requirements prior to building their ovens. I’ve had a couple of customers inquire about Natural or Propane gas kits AFTER they built their beautiful ovens - turns out, their HOA’s have rules regarding the ovens.
This may sound like overkill, but also to check with your homeowners insurance requirements. Several insurance companies have rules about “Solid fuel burning devices” anywhere near the home.
It’s best to check w/ all of these agency’s BEFORE you build a 3000lb pizza oven and base. It’s called CYA - if there are any future issues, you have already covered your bases.