A robot starts at the origin and moves according to a programmed sequence. It first moves due north for 2 miles. It then moves northeast for 1 mile, and finally southeast for 1 mile. What is the straight-line distance, in miles, from the robot's final position to its starting point?