<?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>ALLOT LTD</nameOfIssuer>
		<titleOfClass>SHS</titleOfClass>
		<cusip>M0854Q105</cusip>
		<value>8037023</value>
		<shrsOrPrnAmt>
			<sshPrnamt>759643</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>759643</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>AST SPACEMOBILE INC</nameOfIssuer>
		<titleOfClass>COM CL A</titleOfClass>
		<cusip>00217D100</cusip>
		<value>16152768</value>
		<shrsOrPrnAmt>
			<sshPrnamt>329111</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>329111</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>BURFORD CAP LTD</nameOfIssuer>
		<titleOfClass>ORD SHS</titleOfClass>
		<cusip>G17977110</cusip>
		<value>19169632</value>
		<shrsOrPrnAmt>
			<sshPrnamt>1602812</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>1602812</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>CELLEBRITE DI LTD</nameOfIssuer>
		<titleOfClass>ORDINARY SHARES</titleOfClass>
		<cusip>M2197Q107</cusip>
		<value>30630961</value>
		<shrsOrPrnAmt>
			<sshPrnamt>1653047</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>1653047</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>HAGERTY INC</nameOfIssuer>
		<titleOfClass>CL A COM</titleOfClass>
		<cusip>405166109</cusip>
		<value>32083999</value>
		<shrsOrPrnAmt>
			<sshPrnamt>2664784</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>2664784</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>ISHARES TR</nameOfIssuer>
		<titleOfClass>20 YR TR BD ETF</titleOfClass>
		<cusip>464287432</cusip>
		<value>369646470</value>
		<shrsOrPrnAmt>
			<sshPrnamt>4165500</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<putCall>Put</putCall>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>4165500</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>ISHARES TR</nameOfIssuer>
		<titleOfClass>RUSSELL 2000 ETF</titleOfClass>
		<cusip>464287655</cusip>
		<value>32785580</value>
		<shrsOrPrnAmt>
			<sshPrnamt>135500</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<putCall>Put</putCall>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>135500</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>KINGSWAY FINL SVCS INC</nameOfIssuer>
		<titleOfClass>COM NEW</titleOfClass>
		<cusip>496904202</cusip>
		<value>19160036</value>
		<shrsOrPrnAmt>
			<sshPrnamt>1310536</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>1310536</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>KKR &amp; CO INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>48251W104</cusip>
		<value>28550015</value>
		<shrsOrPrnAmt>
			<sshPrnamt>219700</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>219700</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>LIFECORE BIOMEDICAL INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>514766104</cusip>
		<value>27193964</value>
		<shrsOrPrnAmt>
			<sshPrnamt>3694832</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>3694832</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>LOUISIANA PAC CORP</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>546347105</cusip>
		<value>16561286</value>
		<shrsOrPrnAmt>
			<sshPrnamt>186417</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>186417</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>MATRIX SVC CO</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>576853105</cusip>
		<value>182715</value>
		<shrsOrPrnAmt>
			<sshPrnamt>13969</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>OTR</investmentDiscretion>
		<votingAuthority>
			<Sole>0</Sole>
			<Shared>13969</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>NEXTNAV INC</nameOfIssuer>
		<titleOfClass>COMMON STOCK</titleOfClass>
		<cusip>65345N106</cusip>
		<value>858000</value>
		<shrsOrPrnAmt>
			<sshPrnamt>60000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>60000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>PAR TECHNOLOGY CORP</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>698884103</cusip>
		<value>38519177</value>
		<shrsOrPrnAmt>
			<sshPrnamt>973198</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>973198</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>QUEST RESOURCE HLDG CORP</nameOfIssuer>
		<titleOfClass>COM NEW</titleOfClass>
		<cusip>74836W203</cusip>
		<value>48217</value>
		<shrsOrPrnAmt>
			<sshPrnamt>30777</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>OTR</investmentDiscretion>
		<votingAuthority>
			<Sole>0</Sole>
			<Shared>30777</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>RESEARCH SOLUTIONS INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>761025105</cusip>
		<value>143519</value>
		<shrsOrPrnAmt>
			<sshPrnamt>38477</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>OTR</investmentDiscretion>
		<votingAuthority>
			<Sole>0</Sole>
			<Shared>38477</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>SABLE OFFSHORE CORP</nameOfIssuer>
		<titleOfClass>COM SHS</titleOfClass>
		<cusip>78574H104</cusip>
		<value>5051964</value>
		<shrsOrPrnAmt>
			<sshPrnamt>289345</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>289345</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
</informationTable>
