<?xml version="1.0"?>
<informationTable xsi:schemaLocation="http://www.sec.gov/edgar/document/thirteenf/informationtable eis_13FDocument.xsd"
	xmlns="http://www.sec.gov/edgar/document/thirteenf/informationtable"
	xmlns:n1="http://www.sec.gov/edgar/document/thirteenf/informationtable"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<infoTable>
		<nameOfIssuer>ALPHABET INC</nameOfIssuer>
		<titleOfClass>CAP STK CL A</titleOfClass>
		<cusip>02079K305</cusip>
		<value>25469587</value>
		<shrsOrPrnAmt>
			<sshPrnamt>104770</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>104770</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>AMAZON COM INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>023135106</cusip>
		<value>70678485</value>
		<shrsOrPrnAmt>
			<sshPrnamt>321895</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>321895</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>BERKSHIRE HATHAWAY INC DEL</nameOfIssuer>
		<titleOfClass>CL A</titleOfClass>
		<cusip>084670108</cusip>
		<value>50531400</value>
		<shrsOrPrnAmt>
			<sshPrnamt>67</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>67</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>BROOKFIELD CORP</nameOfIssuer>
		<titleOfClass>CL A LTD VT SH</titleOfClass>
		<cusip>11271J107</cusip>
		<value>65302905</value>
		<shrsOrPrnAmt>
			<sshPrnamt>952215</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>952215</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>BURFORD CAP LTD</nameOfIssuer>
		<titleOfClass>ORD SHS</titleOfClass>
		<cusip>G17977110</cusip>
		<value>19708948</value>
		<shrsOrPrnAmt>
			<sshPrnamt>1835072</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>1835072</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>MARKEL GROUP INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>570535104</cusip>
		<value>42919589</value>
		<shrsOrPrnAmt>
			<sshPrnamt>22455</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>22455</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>TESLA INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>88160R101</cusip>
		<value>35281861</value>
		<shrsOrPrnAmt>
			<sshPrnamt>79335</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>79335</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>TRUPANION INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>898202106</cusip>
		<value>33070032</value>
		<shrsOrPrnAmt>
			<sshPrnamt>764095</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>764095</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
</informationTable>
