Startup Investment: Legal Structures and Risk Allocation