Explain the concept of cohort analysis and how you would apply it to measure customer retention for a direct-to-consumer retail brand.