Once the team grows to even 5 or 10 engineers, I'm not a big fan. The model of encouraging anybody to do a git push to send their local copy of a branch to production is a little sketchy on even a small team. IMO you're better off having an automated build pipeline with CD by that point using something like gitlab or github actions, and putting your production environment into a proper VPC, i.e. generally starting to step up your engineering practices. You can still do these things with Heroku, but at that point you need to start kind of knowing what you're doing anyway and so you lose the main benefit of Heroku that it just magically works without needing to know anything about it. In my experience by that point you're fighting against Heroku more often than not and you're better off using something that is designed to be more flexible and give you more control like Kubernetes on GCP or AWS.