RD50-MPW3: a fully monolithic digital CMOS sensor for future tracking detectors