Never ever take a salary cut when moving from established company to a startup. In fact engineers should also take into account bonus, 401k match that will not be typically offered at a startup.
No wonder most friends I speak to are more attracted to tech unicorns that have higher probability of success than early stage startups and can match or offer higher base salary than established big companies.