Puzzle of the Week #498 - Three Week Odyssey

I embark on a trek, walking a certain distance on the first day, and then each subsequent day walking a mile further than the previous day.

For the first week I head east. For the second week I head north. For the third week I head directly towards my starting point. At the end of the three weeks I am back where I began.

 How far was my trek in total?