I've been at a past company where we (well, mostly I) set up a take-home that would take a mid-level web dev familiar with the material maybe 15-30 minutes to knock out, basically just to test if candidates could produce responsive CSS layouts and knew how to make a proper web form work. It was wild how many we got back that still didn't account for basic (explicitly outlined) use cases like 'works on a phone screen'.