It's an interesting question. I suspect there's some trademark arguments to be made regarding confusion as to who is providing the product and service and whose failures any mistakes reflect. That kind of attribution, and the product quality it promotes, is one of the central purposes of trademark law. But there's also the first sale doctrine--that after you sell your physical product, people can do with it as they please, including resell. I suspect it comes down to how clear Doordash makes it that the restaurant is not involved in the service, but I'm not an expert in these areas, and this is obviously not legal advice.