DoorDash reported better-than-expected sales for the fourth quarter and gave upbeat guidance for the current period.