Risk-sharing as a determinant of capital structure: internal financing, debt, and (outside) equity | Synapse