Start from risk, not from the test pyramid diagram
We map user journeys and system components against the cost of failure: financial transactions, anything touching personal data, and previously-fixed defects sit at the top. Low-traffic admin screens and one-off configuration pages sit at the bottom. The test strategy is proportionate to that map, not to an abstract ratio of unit to end-to-end tests.